Function proptest::bool::weighted [−][src]
pub fn weighted(probability: f64) -> Weighted
Generates boolean values by picking true with the given probability
(1.0 = always true, 0.0 = always false).
Shrinks true to false.