<PackageReference Include="NUnit" Version="4.6.1" />

NUnit.Framework.Constraints.NUnitEqualityComparerAdapter<T>

Adapter that allows NUnitEqualityComparer to be used as an IEqualityComparer<T> for sorting and searching operations.

Initializes a new instance of the NUnitEqualityComparerAdapter<T> class.

public bool Equals(T x, T y)

Determines whether the specified objects are equal.

public int GetHashCode(T obj)

Returns a hash code for the specified object.