csUnit Class Library

Assert.Less Method (IComparable, IComparable, String)

Asserts that an object is less than a different object. Both objects must be of the same type, and that type must implement the System.IComparable interface.

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

Parameters

expectedLess
The object expected to be less.
expectedGreater
The object expected to be greater.
message
Message to be displayed when obj1 is no less.

See Also

Assert Class | csUnit Namespace | Assert.Less Overload List