ReactiveAssert.AreElementsEqual<T> Method (IEnumerable<T>, IEnumerable<T>)

Asserts that both enumerable sequences have equal length and equal elements.

Namespace:  Microsoft.Reactive.Testing
Assembly:  Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)

public static void AreElementsEqual<T>(
	IEnumerable<T> expected,
	IEnumerable<T> actual
)

Type Parameters

T

The type of the elements.

Parameters

expected
Type: System.Collections.Generic.IEnumerable<T>
The expected sequence.
actual
Type: System.Collections.Generic.IEnumerable<T>
The actual sequence to compare against the expected one.
Show: