Verifies that an actual value does not equal some unexpected value according to a particular comparer.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.2.0.0 (3.2.581.0)

Syntax

C#
public static void AreNotEqual<T>(
	T unexpectedValue,
	T actualValue,
	IEqualityComparer<T> comparer
)
Visual Basic (Declaration)
Public Shared Sub AreNotEqual(Of T) ( _
	unexpectedValue As T, _
	actualValue As T, _
	comparer As IEqualityComparer(Of T) _
)

Parameters

unexpectedValue
Type: T
The unexpected value.
actualValue
Type: T
The actual value.
comparer
Type: System.Collections.Generic..::.IEqualityComparer<(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