Verifies that the left value is less than or equal to the right value according to a particular comparer.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public static void LessThanOrEqualTo<T>(
	T left,
	T right,
	Comparison<T> comparer
)
Visual Basic (Declaration)
Public Shared Sub LessThanOrEqualTo(Of T) ( _
	left As T, _
	right As T, _
	comparer As Comparison(Of T) _
)

Parameters

left
Type: T
The expected value.
right
Type: T
The actual value.
comparer
Type: System..::.Comparison<(Of <(T>)>)
The comparer to use, or null to use the default one.

Type Parameters

T
The type of value.

Exceptions

ExceptionCondition
Gallio.Framework.Assertions..::.AssertionExceptionThrown if the verification failed unless the current AssertionFailureBehavior indicates otherwise.

See Also