FloatingPointAssertions<T>.BeLessThan Method
Definition
Asserts that the floating-point value is less than the expected value.
c#
public new AssertionsChain<FloatingPointAssertions<T>, T> BeLessThan(T expected, T precision);Parameters
| Name | Type | Description |
|---|---|---|
expected | T | The value the floating-point number should be less than. |
precision | T | The precision to use for the comparison. |
Returns
AssertionsChain<FloatingPointAssertions<T>, T>
An AssertionsChain<TAssertions, T> for chaining further assertions.