sf_assert_ge

Macro sf_assert_ge 

Source
macro_rules! sf_assert_ge {
    ($left:expr, $right:expr $(,)?) => { ... };
    ($left:expr, $right:expr, $($arg:tt)+) => { ... };
}
Expand description

Passes if the left argument is strictly greater than or equals to the right one.

Passes if the left argument is strictly greater than or equals to the right argument. Otherwise, the test is marked as failure.

ยงExamples

let left = 325;
let right = 37;
sf_assert_ge!(left, right);
sf_assert_ge!(435, 435);
sf_assert_ge!(45, 645884, "this test is a failure");