ComparableAssertions<TSelf, T> Constructors
Base class for assertions on values that can be ordered using IComparable<T>.
c#
protected ComparableAssertions(T value);Parameters
| Name | Type | Description |
|---|---|---|
value | T | The value to assert on. |
Remarks
Values that are not ordered, such as NaN, are not less than, greater than or equal to anything, matching the behaviour of the comparison operators.