Skip to content

FloatingPointAssertions<T>.BeGreaterThan Method ​

Definition ​

Asserts that the floating-point value is greater than the expected value.

c#
public new AssertionsChain<FloatingPointAssertions<T>, T> BeGreaterThan(T expected, T precision);

View source

Parameters ​

NameTypeDescription
expectedTThe value the floating-point number should be greater than.
precisionTThe precision to use for the comparison.

Returns ​

AssertionsChain<FloatingPointAssertions<T>, T>

An AssertionsChain<TAssertions, T> for chaining further assertions.