[−][src]Macro totems::assert_lt
Asserts (left < right)
.
Parameters
left
The left operand of the comparison.right
The right operand of the comparison.
Dependencies
- All content must implement Debug
left
andright
must be at least PartialOrd
Example
use totems::assert_lt; let x = 4; let y = 5; assert_lt!(x, y)
Example Error Messages
thread 'inequalities::lt::incorrect' panicked at 'assertion failed: `(left < right)`
left: `5`,
right: `5`', src/inequalities.rs:245:9