shouldBeGreaterThan

Verify that t is greater than u.

@safe
void
shouldBeGreaterThan
(
T
U
)
(
in T t
,
in 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