Assertion.True

Asserts for a boolean value to be equal to true.

struct Assertion(T)
@safe
static if(is(T == bool))
bool
True
(
string file = __FILE__
,
size_t line = __LINE__
)

Examples

true.should.be.True;
(1 == 1).should.be.True;

Meta