Verifies that an actual value does not equal some unexpected value.
Namespace:
MbUnit.FrameworkAssembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.459.0)
Syntax
| C# |
|---|
public static void AreNotEqual<T>( T unexpectedValue, T actualValue ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub AreNotEqual(Of T) ( _ unexpectedValue As T, _ actualValue As T _ ) |
Parameters
- unexpectedValue
- Type: T
The unexpected value.
- actualValue
- Type: T
The actual value.
Type Parameters
- T
- The type of value.
Exceptions
| Exception | Condition |
|---|---|
| Gallio.Framework.Assertions..::.AssertionException | Thrown if the verification failed unless the current AssertionFailureBehavior indicates otherwise. |
