Skip to content

IsGreaterThanOrEqualTo

grahamrhay edited this page Dec 18, 2010 · 1 revision

#IsGreaterThanOrEqualTo

Matches if an object is greater than or equal to another (must implement IComparable):

    [Test]
    public void IsEqual()
    {
        Assert.That(4, Is.GreaterThanOrEqualTo(3));
        Assert.That(4, Is.GreaterThanOrEqualTo(4));
    }
Clone this wiki locally