[−][src]Function im_rc::ordset::proptest::ord_set
pub fn ord_set<A: Strategy + 'static>(
element: A,
size: Range<usize>
) -> BoxedStrategy<OrdSet<<A::Tree as ValueTree>::Value>> where
<A::Tree as ValueTree>::Value: Ord + Clone,
A strategy for a set of a given size.
Examples
ⓘThis example is not tested
proptest! { #[test] fn proptest_a_set(ref s in set(".*", 10..100)) { assert!(s.len() < 100); assert!(s.len() >= 10); } }