Module assertables::assert_fn::assert_fn_ge

source ·
Expand description

Assert a function output is greater than or equal to another.

§Example


let a: i8 = -2;
let b: i8 = 1;
assert_fn_ge!(i8::abs, a, i8::abs, b);

§Module macros