Function proptest::num::sample_uniform_incl
source ยท pub fn sample_uniform_incl<X: SampleUniform>(
run: &mut TestRunner,
start: X,
end: X,
) -> X
Expand description
Generate a random value of X
, sampled uniformly from the closed
range [low, high]
(inclusive). Panics if low > high
.