Module assertables::assert_fn::assert_fn_gt_expr

source ·
Expand description

Assert a function output is greater than an expression.

§Example

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

§Module macros