zebra_test::prelude::prop::num::f32

Constant POSITIVE

pub const POSITIVE: Any;
Expand description

Generates positive floats

By itself, implies the NORMAL class, unless another class is OR’ed in. That is, using POSITIVE as a strategy by itself will generate arbitrary values between the type’s MIN_POSITIVE and MAX, while POSITIVE | INFINITE would only allow generating positive infinity.