csUnit Class Library

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

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

public static void Less(
   double val1,
   double val2,
   double permittedDelta,
   string message
);

Parameters

val1
The left-hand side of the inequality
val2
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 | Assert Members | csUnit Namespace | Assert.Less Overload List