Function zebra_test::prelude::prop::num::sample_uniform_incl

pub fn sample_uniform_incl<X>(run: &mut TestRunner, start: X, end: X) -> X
where X: SampleUniform,
Expand description

Generate a random value of X, sampled uniformly from the closed range [low, high] (inclusive). Panics if low > high.