MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / arbitrary

Method arbitrary

ipld/resolver/src/timestamp.rs:49–51  ·  view source on GitHub ↗
(g: &mut quickcheck::Gen)

Source from the content-addressed store, hash-verified

47
48 impl quickcheck::Arbitrary for Timestamp {
49 fn arbitrary(g: &mut quickcheck::Gen) -> Self {
50 Self(u64::arbitrary(g).saturating_add(1))
51 }
52 }
53}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected