shouldBeSmallerThan

Verify that t is smaller than u.

void
shouldBeSmallerThan
(
T
U
)
(
in auto ref T t
,
in auto ref U u
,
in string file = __FILE__
,
in size_t line = __LINE__
)

Throws

UnitTestException on failure.

Examples

shouldBeSmallerThan(5, 7);
assertFail(shouldBeSmallerThan(7, 5));
assertFail(shouldBeSmallerThan(7, 7));

Meta