Function proptest::collection::btree_set [] [src]

pub fn btree_set<T, S>(element: T, size: S) -> BTreeSetStrategy<T> where
    T: Strategy,
    ValueFor<T>: Ord,
    S: Into<SizeRange>, 

Create a strategy to generate BTreeSets containing elements drawn from element and with a size range given by size.

This strategy will implicitly do local rejects to ensure that the BTreeSet has at least the minimum number of elements, in case element should produce duplicate values.