GreaterThanConstraint - samuelneff/docs GitHub Wiki
GreaterThanConstraint tests that one value is greater than another.
```C# GreaterThanConstraint(object expected) ``` ```C# Is.GreaterThan(object expected) Is.Positive // Equivalent to Is.GreaterThan(0) ``` ```C# ...Using(IComparer comparer) ...Using(IComparer<T> comparer) ...Using(Comparison<T> comparer) ``` ```C# Assert.That(7, Is.GreaterThan(3)); Assert.That(myOwnObject, Is.GreaterThan(theExpected).Using(myComparer)); Assert.That(42, Is.Positive); ```