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

UniqueItemsConstraint tests whether all the items in a collection are unique.
Inheritance: CollectionItemsEqualConstraint
Mostrar archivo Open project: Unity-Technologies/nunitv2

Public Methods

Method Description
WriteDescriptionTo ( MessageWriter writer ) : void

Write a description of this constraint to a MessageWriter

Protected Methods

Method Description
doMatch ( IEnumerable actual ) : bool

Check that all items are unique.

Method Details

WriteDescriptionTo() public method

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

doMatch() protected method

Check that all items are unique.
protected doMatch ( IEnumerable actual ) : bool
actual IEnumerable
return bool