C# Class UnityEngine.NUnit.Framework.Constraints.CollectionEquivalentConstraint

CollectionEquivalentCOnstraint is used to determine whether two collections are equivalent.
Inheritance: CollectionItemsEqualConstraint
显示文件 Open project: Unity-Technologies/nunitv2

Public Methods

Method Description
CollectionEquivalentConstraint ( IEnumerable expected ) : System.Collections

Construct a CollectionEquivalentConstraint

WriteDescriptionTo ( MessageWriter writer ) : void

Write a description of this constraint to a MessageWriter

Protected Methods

Method Description
doMatch ( IEnumerable actual ) : bool

Test whether two collections are equivalent

Method Details

CollectionEquivalentConstraint() public method

Construct a CollectionEquivalentConstraint
public CollectionEquivalentConstraint ( IEnumerable expected ) : System.Collections
expected IEnumerable
return System.Collections

WriteDescriptionTo() public method

Write a description of this constraint to a MessageWriter
public WriteDescriptionTo ( MessageWriter writer ) : void
writer MessageWriter
return void

doMatch() protected method

Test whether two collections are equivalent
protected doMatch ( IEnumerable actual ) : bool
actual IEnumerable
return bool