Expand description
Strategies for generating std::collections of values.
Structs§
- BTree
MapStrategy - Strategy to create
BTreeMaps with a length in a certain range. - BTree
MapValue Tree ValueTreecorresponding toBTreeMapStrategy.- BTree
SetStrategy - Strategy to create
BTreeSets with a length in a certain range. - BTree
SetValue Tree ValueTreecorresponding toBTreeSetStrategy.- Binary
Heap Strategy - Strategy to create
BinaryHeaps with a length in a certain range. - Binary
Heap Value Tree ValueTreecorresponding toBinaryHeapStrategy.- Hash
MapStrategy - Strategy to create
HashMaps with a length in a certain range. - Hash
MapValue Tree ValueTreecorresponding toHashMapStrategy.- Hash
SetStrategy - Strategy to create
HashSets with a length in a certain range. - Hash
SetValue Tree ValueTreecorresponding toHashSetStrategy.- Linked
List Strategy - Strategy to create
LinkedLists with a length in a certain range. - Linked
List Value Tree ValueTreecorresponding toLinkedListStrategy.- Size
Range - The minimum and maximum range/bounds on the size of a collection.
The interval must form a subset of
[0, std::usize::MAX). - VecDeque
Strategy - Strategy to create
VecDeques with a length in a certain range. - VecDeque
Value Tree ValueTreecorresponding toVecDequeStrategy.- VecStrategy
- Strategy to create
Vecs with a length in a certain range. - VecValue
Tree 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.