ComparableAssertions<TSelf, T>.BeLessThanOrEqualTo Method
Definition
Asserts that the value is less than or equal to the expected value.
c#
public AssertionsChain<TSelf, T> BeLessThanOrEqualTo(T expected);Parameters
| Name | Type | Description |
|---|---|---|
expected | T | The value the value should be less than or equal to. |
Returns
An AssertionsChain<TAssertions, T> for chaining further assertions.