Asserts that two strings are equal according to a particular string comparison mode.

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

Syntax

C#
public static void AreEqual(
	string expectedValue,
	string actualValue,
	StringComparison comparisonType
)
Visual Basic (Declaration)
Public Shared Sub AreEqual ( _
	expectedValue As String, _
	actualValue As String, _
	comparisonType As StringComparison _
)

Parameters

expectedValue
Type: System..::.String
The expected value.
actualValue
Type: System..::.String
The actual value.
comparisonType
Type: System..::.StringComparison
The string comparison type.

Exceptions

ExceptionCondition
Gallio.Framework.Assertions..::.AssertionExceptionThrown if the verification failed unless the current AssertionFailureBehavior indicates otherwise.

See Also