<PackageReference Include="nunit" Version="2.5.7.10213" />

NUnitEqualityComparer

public class NUnitEqualityComparer
NUnitEqualityComparer encapsulates NUnit's handling of equality tests between objects.
public static NUnitEqualityComparer Default { get; }

Returns the default NUnitEqualityComparer

public bool CompareAsCollection { get; set; }

Gets and sets a flag indicating that arrays should be compared as collections, without regard to their shape.

public EqualityAdapter ExternalComparer { get; set; }

Gets and sets an external comparer to be used to test for equality. It is applied to members of collections, in place of NUnit's own logic.

public IList FailurePoints { get; }

Gets the list of failure points for the last Match performed.

public bool IgnoreCase { get; set; }

Gets and sets a flag indicating whether case should be ignored in determining equality.

public Tolerance Tolerance { get; set; }

Gets and sets a tolerance used to compare objects of certin types.

public bool ObjectsEqual(object x, object y)

Compares two objects for equality.