Verifies that a test value is not between left and right values 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 NotBetween<T>(
	T actualValue,
	T minimum,
	T maximum,
	string messageFormat,
	params Object[] messageArgs
)
Visual Basic (Declaration)
Public Shared Sub NotBetween(Of T) ( _
	actualValue As T, _
	minimum As T, _
	maximum As T, _
	messageFormat As String, _
	ParamArray messageArgs As Object() _
)

Parameters

actualValue
Type: T
The actual value.
minimum
Type: T
Inclusive minimum value.
maximum
Type: T
Inclusive maximum value.
messageFormat
Type: System..::.String
The custom assertion message format, or null if none.
messageArgs
Type: array< System..::.Object >[]()[]
The custom assertion message arguments, or null if none.

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