NotBe
Last updated
Last updated
ShouldNotBe
is the inverse of ShouldBe
.
ShouldNotBe
works on all types and compares using .Equals
.
|
Exception
ShouldNotBe
also allows you to compare numeric values, regardless of their value type.
Exception
Exception
ShouldNotBe
DateTime overloads are similar to the numeric overloads and also support tolerances.
Exception
TimeSpan
also has tolerance overloads
Exception
|
|
|
|