Skip to main content

assert_always_less_than

Macro assert_always_less_than 

Source
macro_rules! assert_always_less_than {
    ($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.