Module assert_fn_ge_x

Source
Expand description

Assert a function output is greater than or equal to an expression.

Pseudocode:
function(a) ≥ expr

§Example

use assertables::*;

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

§Module macros