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

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.

Gets the list of external comparers to be used to test for equality. They are applied to members of collections, in place of NUnit's own logic.

public IList<FailurePoint> FailurePoints { get; }

Gets the list of failure points for the last Match performed. The list consists of objects to be interpreted by the caller. This generally means that the caller may only make use of objects it has placed on the list at a particular depthy.

public bool IgnoreCase { get; set; }

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

public bool AreEqual(object expected, object actual, ref Tolerance tolerance)

Compares two objects for equality within a tolerance, setting the tolerance to the actual tolerance used if an empty tolerance is supplied.