csUnit Class Library

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

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

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

Parameters

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

See Also

Assert Class | csUnit Namespace | Assert.Less Overload List