Skip to main content

Module range_subset

Module range_subset 

Source
Expand description

Strategies for generating values by taking samples of index ranges.

Note that the strategies in this module are not native combinators; that is, the input range is not itself a strategy, but is rather fixed when the strategy is created.

Structs§

RangeSubset
Strategy to generate Vecs by sampling a subset from an index range.
RangeSubsetValueTree
RangeSubsetValueTree corresponding to RangeSubset.

Functions§

range_subset
Sample subsets whose size are within size from the given range.