AssertException otherwise
assertLessThan(2, 3); auto exception = expectThrows!AssertException(assertGreaterThanOrEqual(2, 3)); assertEquals("condition (2 >= 3) not satisfied", exception.msg);
assertIn("foo", ["foo" : "bar"]); auto exception = expectThrows!AssertException(assertNotIn("foo", ["foo" : "bar"])); assertEquals(`condition ("foo" !in ["foo":"bar"]) not satisfied`, exception.msg);
Asserts that the condition (lhs op rhs) is satisfied.