shouldBeTrue

Verify that the condition is true.

void
shouldBeTrue
(
E
)
(
lazy E condition
,
in string file = __FILE__
,
in size_t line = __LINE__
)

Throws

UnitTestException on failure.

Examples

shouldBeTrue(true);

Meta