proptest

Module collection

source
Expand description

Strategies for generating std::collections of values.

Structs§

Functions§

  • Create a strategy to generate BinaryHeaps containing elements drawn from element and with a size range given by size.
  • Create a strategy to generate BTreeMaps containing keys and values drawn from key and value respectively, and with a size within the given range.
  • Create a strategy to generate BTreeSets containing elements drawn from element and with a size range given by size.
  • Create a strategy to generate HashMaps containing keys and values drawn from key and value respectively, and with a size within the given range.
  • Create a strategy to generate HashSets containing elements drawn from element and with a size range given by size.
  • Create a strategy to generate LinkedLists containing elements drawn from element and with a size range given by size.
  • Creates a SizeRange from some value that is convertible into it.
  • Create a strategy to generate Vecs containing elements drawn from element and with a size range given by size.
  • Create a strategy to generate VecDeques containing elements drawn from element and with a size range given by size.