We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#IsLessThanOrEqualTo
Matches if an object is less than or equal to another (must implement IComparable):
[Test] public void IsEqual() { Assert.That(4, Is.LessThanOrEqualTo(5)); Assert.That(4, Is.LessThanOrEqualTo(4)); }