[−][src]Macro totems::assert_gt
Asserts (left > right).
Parameters
leftThe left operand of the comparison.rightThe right operand of the comparison.
Dependencies
leftandrightmust be at least PartialOrd
Example
use totems::assert_gt; let x = 5; let y = 4; assert_gt!(x, y)
Example Error Messages
thread 'inequalities::gt::incorrect' panicked at 'assertion failed: `(left > right)`
left: `5`,
right: `5`', src/inequalities.rs:295:9