<PackageReference Include="NUnit" Version="3.0.0-rc" />

NUnitEqualityComparer

public class NUnitEqualityComparer
NUnitEqualityComparer encapsulates NUnit's handling of equality tests between objects.
public class FailurePoint

FailurePoint class represents one point of failure in an equality test.

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 WithSameOffset { get; set; }

Flags the comparer to include Offset property in comparison of two DateTimeOffset values.

public bool AreEqual(object x, object y, ref Tolerance tolerance)

Compares two objects for equality within a tolerance.