Skip to content

FloatingPointAssertions<T>.BeGreaterThan Method

Definition

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

public FloatingPointAssertionsChain<T> BeGreaterThan(T expected, T precision);

Parameters

Name Type Description
expected T The value the floating-point number should be greater than.
precision T The precision to use for the comparison.

Returns

FloatingPointAssertionsChain<T>

A FloatingPointAssertionsChain<T> for chaining further assertions.