ComparableAssertions<TSelf, T>.BeInRange Method
Definition
Asserts that the value is between the specified minimum and maximum values, inclusive.
c#
public AssertionsChain<TSelf, T> BeInRange(T minimum, T maximum);Parameters
| Name | Type | Description |
|---|---|---|
minimum | T | The minimum allowed value. |
maximum | T | The maximum allowed value. |
Returns
An AssertionsChain<TAssertions, T> for chaining further assertions.