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

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,
	string message
)

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.
message
Type: System.String
The error message for assert failure.
Show: