Asserts that two strings are not equal according to a particular string comparison mode.
Namespace:
MbUnit.FrameworkAssembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.459.0)
Syntax
| C# |
|---|
public static void AreNotEqual( string unexpectedValue, string actualValue, StringComparison comparisonType ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub AreNotEqual ( _ unexpectedValue As String, _ actualValue As String, _ comparisonType As StringComparison _ ) |
Parameters
- unexpectedValue
- Type: System..::.String
The unexpected value.
- actualValue
- Type: System..::.String
The actual value.
- comparisonType
- Type: System..::.StringComparison
The string comparison type.
Exceptions
| Exception | Condition |
|---|---|
| Gallio.Framework.Assertions..::.AssertionException | Thrown if the verification failed unless the current AssertionFailureBehavior indicates otherwise. |
