shouldBeGreaterThan

Verify that t is greater than u.

void
shouldBeGreaterThan
(
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

shouldBeGreaterThan(7, 5);
assertFail(shouldBeGreaterThan(5, 7));
assertFail(shouldBeGreaterThan(7, 7));

Meta