csUnit Class Library

Assert.Greater Method (Single, Single, Single, String)

Asserts the first value is greater than the second value, within a specified tolerance.

public static void Greater(
   float expectedGreater,
   float expectedLess,
   float permittedDelta,
   string message
);

Parameters

expectedGreater
The left-hand side of the inequality.
expectedLess
The right-hand side of the inequality.
permittedDelta
The equality tolerance.
message
An optional message to display with the default message.

Remarks

The interpretation would be one of the two: Actual < (Expected ± permittedDelta) Expected > (Actual ± permittedDelta)

See Also

Assert Class | csUnit Namespace | Assert.Greater Overload List