csUnit Class Library

Assert.Greater Method (IComparable, IComparable)

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

public static void Greater(
   IComparable obj1,
   IComparable obj2
);

Parameters

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

See Also

Assert Class | Assert Members | csUnit Namespace | Assert.Greater Overload List