Bearbeiten

NUnitEqualityComparer Class

Definition

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

public class NUnitEqualityComparer
type NUnitEqualityComparer = class
Inheritance
NUnitEqualityComparer

Constructors

Name Description
NUnitEqualityComparer()

Properties

Name Description
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

Name Description
AreEqual(Object, Object, Tolerance)

Applies to