編輯

共用方式為


Is.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 static NUnit.Framework.Constraints.CollectionEquivalentConstraint EquivalentTo (System.Collections.IEnumerable expected);
static member EquivalentTo : System.Collections.IEnumerable -> NUnit.Framework.Constraints.CollectionEquivalentConstraint

Parameters

expected
IEnumerable

Returns

Applies to