Assertion.False

Asserts for a boolean value to be equal to true.

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

Examples

false.should.be.False;
(1 != 1).should.be.False;

Meta