ConstraintFactory.EquivalentTo(IEnumerable) Method

Definition

Returns a constraint that tests whether the actual value is a collection containing the same elements as the collection supplied as an argument.

public NUnit.Framework.Constraints.CollectionEquivalentConstraint EquivalentTo (System.Collections.IEnumerable expected);
member this.EquivalentTo : System.Collections.IEnumerable -> NUnit.Framework.Constraints.CollectionEquivalentConstraint

Parameters

expected
IEnumerable

Returns

CollectionEquivalentConstraint

Applies to