-
Notifications
You must be signed in to change notification settings - Fork 53
IComparable
Cyrille DUPUYDAUBY edited this page Feb 5, 2018
·
1 revision
Checks that the sut is after (or greater) than the reference value; fails otherwise.
// This check succeeds
Check.That(3).IsAfter(2);
// This check fails
Check.That(3).IsAfter(4);
Checks that the sut is before (or less) than the reference value; fails otherwise.
// This check succeeds
Check.That(3).IsBefore(4);
// This check fails
Check.That(3).IsBefore(3);
- Welcome
- How to start
- Customising error messages
-
Check.That
- All (Equality, Type)
- Reference types
- Members based
- IEnumerable (Properties, Content, Elements)
- String (Properties, Content, RegExp )
- Numeric Type(Properties, Comparisons, Floating)
- Dictionary
- Char (Properties, Value)
- IComparable
- DateTime
- DateTimeOffset
- Misc: Boolean, TimeSpan, Stream, Enum, EventWaitHandle
- Check.ThatCode
- Check.ThatDynamic
- Extensibility
- Auxiliary types (TimeUnit)
- Mocks