Bool
ShouldBeTrue and ShouldBeFalse work on boolean values.
ShouldBeTrue
var myValue = false;
myValue.ShouldBeTrue();Exception
myValue
should be
True
but was
FalseShouldBeFalse
var myValue = true;
myValue.ShouldBeFalse();Exception
myValue
should be
False
but was
TrueLast updated