-
Notifications
You must be signed in to change notification settings - Fork 157
GreaterThanOrEqualConstraint
jnm2 edited this page Jun 14, 2017
·
5 revisions
GreaterThanOrEqualConstraint tests that one value is greater than or equal to another.
GreaterThanOrEqualConstraint(object expected)
Is.GreaterThanOrEqualTo(object expected)
Is.AtLeast(object expected)
...Using(IComparer comparer)
...Using<T>(IComparer<T> comparer)
...Using<T>(Comparison<T> comparer)
Assert.That(7, Is.GreaterThanOrEqualTo(3));
Assert.That(7, Is.AtLeast(3));
Assert.That(7, Is.GreaterThanOrEqualTo(7));
Assert.That(7, Is.AtLeast(7));
Assert.That(myOwnObject,
Is.GreaterThanOrEqualTo(theExpected).Using(myComparer));
Copyright (c) 2018 The NUnit Project - Licensed under CC BY-NC-SA 4.0
-
NUnit
-
Release Notes
-
License
- Getting Started
- Writing Tests
- Running Tests
- Extending NUnit
- Technical Notes
-
Release Notes
- NUnit Xamarin Runners
- VS Test Adapter
- VS Test Generator
- NUnit Analyzers