Skip to content

EnumerableExtensions.SequenceEqual Method

Definition

Asserts that the non-generic enumerable is sequence equal to the expected elements.

public static ObjectAssertionsChain<T> SequenceEqual<T>(this ObjectAssertions<T> assertions, params IEnumerable<object> expected)
   where T : IEnumerable;

Type Parameters

Name Description
T The type of the enumerable.

Parameters

Name Type Description
assertions ObjectAssertions<T> The assertions object.
expected IEnumerable<Object> The expected elements.

Returns

ObjectAssertionsChain<T>

An ObjectAssertionsChain<T> for chaining further assertions.