Verifies that unexpected and actual sequences differ in at least one element.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public static void AreElementsNotSame<T>(
	IEnumerable<T> unexpectedSequence,
	IEnumerable<T> actualSequence
)
where T : class
Visual Basic (Declaration)
Public Shared Sub AreElementsNotSame(Of T As Class) ( _
	unexpectedSequence As IEnumerable(Of T), _
	actualSequence As IEnumerable(Of T) _
)

Parameters

unexpectedSequence
Type: System.Collections.Generic..::.IEnumerable<(Of <(T>)>)
The unexpected sequence.
actualSequence
Type: System.Collections.Generic..::.IEnumerable<(Of <(T>)>)
The actual sequence.

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