Module collection
Strategies for generating std::collections of values.
Structs
-
BTreeMapStrategy
Strategy to create
BTreeMaps with a length in a certain range. -
BTreeMapValueTree
ValueTreecorresponding toBTreeMapStrategy. -
BTreeSetStrategy
Strategy to create
BTreeSets with a length in a certain range. -
BTreeSetValueTree
ValueTreecorresponding toBTreeSetStrategy. -
BinaryHeapStrategy
Strategy to create
BinaryHeaps with a length in a certain range. -
BinaryHeapValueTree
ValueTreecorresponding toBinaryHeapStrategy. -
HashMapStrategy
Strategy to create
HashMaps with a length in a certain range. -
HashMapValueTree
ValueTreecorresponding toHashMapStrategy. -
HashSetStrategy
Strategy to create
HashSets with a length in a certain range. -
HashSetValueTree
ValueTreecorresponding toHashSetStrategy. -
LinkedListStrategy
Strategy to create
LinkedLists with a length in a certain range. -
LinkedListValueTree
ValueTreecorresponding toLinkedListStrategy. -
SizeRange
The minimum and maximum range/bounds on the size of a collection.
The interval must form a subset of
[0, std::usize::MAX). -
VecDequeStrategy
Strategy to create
VecDeques with a length in a certain range. -
VecDequeValueTree
ValueTreecorresponding toVecDequeStrategy. -
VecStrategy
Strategy to create
Vecs with a length in a certain range. -
VecValueTree
ValueTreecorresponding toVecStrategy.
Functions
-
binary_heap
Create a strategy to generate
BinaryHeaps containing elements drawn fromelementand with a size range given bysize. -
btree_map
Create a strategy to generate
BTreeMaps containing keys and values drawn fromkeyandvaluerespectively, and with a size within the given range. -
btree_set
Create a strategy to generate
BTreeSets containing elements drawn fromelementand with a size range given bysize. -
hash_map
Create a strategy to generate
HashMaps containing keys and values drawn fromkeyandvaluerespectively, and with a size within the given range. -
hash_set
Create a strategy to generate
HashSets containing elements drawn fromelementand with a size range given bysize. -
linked_list
Create a strategy to generate
LinkedLists containing elements drawn fromelementand with a size range given bysize. -
size_range
Creates a
SizeRangefrom some value that is convertible into it. -
vec
Create a strategy to generate
Vecs containing elements drawn fromelementand with a size range given bysize. -
vec_deque
Create a strategy to generate
VecDeques containing elements drawn fromelementand with a size range given bysize.