[][src]Macro all_asserts::assert_range

macro_rules! assert_range {
    ($left:expr, $right:expr) => { ... };
    ($left:expr, $right:expr,) => { ... };
}

Asserts that the right hand side expression is within the range on the left hand side

Examples

assert_range!((100..200), 101);