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
.
pub fn sample_uniform_incl<X: SampleUniform>(
run: &mut TestRunner,
start: X,
end: X,
) -> X
Generate a random value of X
, sampled uniformly from the closed
range [low, high]
(inclusive). Panics if low > high
.