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

Constant NEGATIVE

pub const NEGATIVE: Any;
Expand description

Generates negative 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 and -MIN_POSITIVE, while NEGATIVE | INFINITE would only allow generating positive infinity.