Skip to content

FloatingPointAssertions<T>.BeGreaterThanOrEqualTo Method ​

Definition ​

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

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

View source

Parameters ​

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

Returns ​

AssertionsChain<FloatingPointAssertions<T>, T>

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