Expand description
Strategies for generating std::collections
of values.
Structs§
- Strategy to create
BTreeMap
s with a length in a certain range. ValueTree
corresponding toBTreeMapStrategy
.- Strategy to create
BTreeSet
s with a length in a certain range. ValueTree
corresponding toBTreeSetStrategy
.- Strategy to create
BinaryHeap
s with a length in a certain range. ValueTree
corresponding toBinaryHeapStrategy
.- Strategy to create
HashMap
s with a length in a certain range. ValueTree
corresponding toHashMapStrategy
.- Strategy to create
HashSet
s with a length in a certain range. ValueTree
corresponding toHashSetStrategy
.- Strategy to create
LinkedList
s with a length in a certain range. ValueTree
corresponding toLinkedListStrategy
.- The minimum and maximum range/bounds on the size of a collection. The interval must form a subset of
[0, std::usize::MAX)
. - Strategy to create
VecDeque
s with a length in a certain range. ValueTree
corresponding toVecDequeStrategy
.- Strategy to create
Vec
s with a length in a certain range. ValueTree
corresponding toVecStrategy
.
Functions§
- Create a strategy to generate
BinaryHeap
s containing elements drawn fromelement
and with a size range given bysize
. - Create a strategy to generate
BTreeMap
s containing keys and values drawn fromkey
andvalue
respectively, and with a size within the given range. - Create a strategy to generate
BTreeSet
s containing elements drawn fromelement
and with a size range given bysize
. - Create a strategy to generate
HashMap
s containing keys and values drawn fromkey
andvalue
respectively, and with a size within the given range. - Create a strategy to generate
HashSet
s containing elements drawn fromelement
and with a size range given bysize
. - Create a strategy to generate
LinkedList
s containing elements drawn fromelement
and with a size range given bysize
. - Creates a
SizeRange
from some value that is convertible into it. - Create a strategy to generate
Vec
s containing elements drawn fromelement
and with a size range given bysize
. - Create a strategy to generate
VecDeque
s containing elements drawn fromelement
and with a size range given bysize
.