FloatingPointAssertions<T>.BeLessThan Method
Definition
Asserts that the floating-point value is less than the expected value.
public FloatingPointAssertionsChain<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
FloatingPointAssertionsChain<T>
A FloatingPointAssertionsChain<T> for chaining further assertions.