NUnitEqualityComparer Class

Definition

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

public class NUnitEqualityComparer
type NUnitEqualityComparer = class
Inheritance
NUnitEqualityComparer

Constructors

NUnitEqualityComparer()

Properties

CompareAsCollection

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

Default

Returns the default NUnitEqualityComparer

ExternalComparers
FailurePoints

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

IgnoreCase

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

Methods

AreEqual(Object, Object, Tolerance)

Applies to