macro_rules! assert_sometimes_less_than { ($left:expr, $right:expr, $message:literal$(, $details:expr)?) => { ... }; ($($rest:tt)*) => { ... }; }
Expand description
assert_sometimes_less_than(x, y, ...)
is mostly equivalent to assert_sometimes!(x < y, ...)
, except Antithesis has more visibility to the value of x
and y
, and the assertion details would be merged with {"left": x, "right": y}
.