csUnit Class Library

Assert.Greater Method (IComparable, IComparable, String)

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 expectedGreater,
   IComparable expectedLess,
   string message
);

Parameters

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

See Also

Assert Class | csUnit Namespace | Assert.Greater Overload List