Skip to main content

assert_always_less_than_or_equal_to

Macro assert_always_less_than_or_equal_to 

Source
macro_rules! assert_always_less_than_or_equal_to {
    ($val:expr, $thresh:expr, $message:expr) => { ... };
}
Expand description

Assert that val <= threshold always holds.

Does not panic on failure — records the violation and logs at ERROR level.