Expand description
Strategies for generating std::collections
of values.
Structs§
- BTree
MapStrategy - Strategy to create
BTreeMap
s with a length in a certain range. - BTree
MapValue Tree ValueTree
corresponding toBTreeMapStrategy
.- BTree
SetStrategy - Strategy to create
BTreeSet
s with a length in a certain range. - BTree
SetValue Tree ValueTree
corresponding toBTreeSetStrategy
.- Binary
Heap Strategy - Strategy to create
BinaryHeap
s with a length in a certain range. - Binary
Heap Value Tree ValueTree
corresponding toBinaryHeapStrategy
.- Hash
MapStrategy - Strategy to create
HashMap
s with a length in a certain range. - Hash
MapValue Tree ValueTree
corresponding toHashMapStrategy
.- Hash
SetStrategy - Strategy to create
HashSet
s with a length in a certain range. - Hash
SetValue Tree ValueTree
corresponding toHashSetStrategy
.- Linked
List Strategy - Strategy to create
LinkedList
s with a length in a certain range. - Linked
List Value Tree ValueTree
corresponding 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
VecDeque
s with a length in a certain range. - VecDeque
Value Tree ValueTree
corresponding toVecDequeStrategy
.- VecStrategy
- Strategy to create
Vec
s with a length in a certain range. - VecValue
Tree ValueTree
corresponding toVecStrategy
.
Functions§
- binary_
heap - Create a strategy to generate
BinaryHeap
s containing elements drawn fromelement
and with a size range given bysize
. - btree_
map - Create a strategy to generate
BTreeMap
s containing keys and values drawn fromkey
andvalue
respectively, and with a size within the given range. - btree_
set - Create a strategy to generate
BTreeSet
s containing elements drawn fromelement
and with a size range given bysize
. - hash_
map - Create a strategy to generate
HashMap
s containing keys and values drawn fromkey
andvalue
respectively, and with a size within the given range. - hash_
set - Create a strategy to generate
HashSet
s containing elements drawn fromelement
and with a size range given bysize
. - linked_
list - Create a strategy to generate
LinkedList
s containing elements drawn fromelement
and with a size range given bysize
. - size_
range - Creates a
SizeRange
from some value that is convertible into it. - vec
- Create a strategy to generate
Vec
s containing elements drawn fromelement
and with a size range given bysize
. - vec_
deque - Create a strategy to generate
VecDeque
s containing elements drawn fromelement
and with a size range given bysize
.