Module zebra_chain::serialization::arbitrary
source · Expand description
Arbitrary data generation for serialization proptests
Functions§
- Returns a strategy that produces an arbitrary
chrono::DateTime<Utc>
, based on the full valid range of the type. - Returns a strategy that produces an arbitrary time from a
u32
number of seconds past the epoch. - Allocate a maximum-sized vector of cloned
item
s, and serialize that array.