shouldBeTrue

Verify that the condition is true.

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

Throws

UnitTestException on failure.

Examples

shouldBeTrue(true);

Meta