Crate diem_proptest_helpers
source ·Structs
- A set of elements, each with an associated key, that grows over time.
- Wrapper for
proptest
’s [Index
][proptest::sample::Index] that allowsAsRef
to work. - An efficient representation of a vector with repeated elements inserted.
- Context for generating single values out of strategies.
Functions
- Given a maximum value
max
and a list ofIndex
instances, picks integers in the range[0, max)
uniformly randomly and without duplication. - Given a maximum value
max
and a slice ofIndex
instances, picks integers in the range[0, max)
uniformly randomly and without duplication. - Creates a new thread with a larger stack size.