csUnit Class Library

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

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

public static void Greater(
   double expectedGreater,
   double expectedLess,
   double 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