csUnit Class Library

Assert.Less Method 

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.

[Visual Basic]
Public Shared Sub Less( _
   ByVal obj1 As IComparable, _
   ByVal obj2 As IComparable _
)
[C#]
public static void Less(
   IComparable obj1,
   IComparable obj2
);

Parameters

obj1
The object expected to be less.
obj2
The object expected to be greater.

See Also

Assert Class | Assert Members | csUnit Namespace