Module zebra_test::prelude::prop::num

Expand description

Strategies to generate numeric values (as opposed to integers used as bit fields).

All strategies in this module shrink by binary searching towards 0.

Modules§

Functions§

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