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.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public static void AreNotEqual<T>(
T unexpectedValue,
T actualValue,
EqualityComparison<T> comparer,
string messageFormat,
params Object[] messageArgs
)
|
| Visual Basic (Declaration) |
|---|
Public Shared Sub AreNotEqual(Of T) ( _
unexpectedValue As T, _
actualValue As T, _
comparer As EqualityComparison(Of T), _
messageFormat As String, _
ParamArray messageArgs As Object() _
) |
Parameters
- unexpectedValue
- Type: T
The unexpected value.
- actualValue
- Type: T
The actual value.
- comparer
- Type: Gallio.Common..::.EqualityComparison<(Of <(T>)>)
The comparer to use, or null to use the default one.
- 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
Exceptions
See Also