EqualConstraint
EqualConstraint is able to compare an actual value with the
expected value provided in its constructor. Two objects are
considered equal if both are null, or if both have the same
value. NUnit has special semantics for some object types.
Flag the constraint to compare arrays as collections
and return self.
Causes the tolerance to be interpreted as a TimeSpan in days.
Causes the tolerance to be interpreted as a TimeSpan in hours.
Flag the constraint to ignore case and return self.
Causes the tolerance to be interpreted as a TimeSpan in milliseconds.
Causes the tolerance to be interpreted as a TimeSpan in minutes.
Flag the constraint to suppress string clipping
and return self.
Switches the .Within() modifier to interpret its tolerance as
a percentage that the actual values is allowed to deviate from
the expected value.
Causes the tolerance to be interpreted as a TimeSpan in seconds.
Causes the tolerance to be interpreted as a TimeSpan in clock ticks.
Switches the .Within() modifier to interpret its tolerance as
a distance in representable values (see remarks).
Initializes a new instance of the EqualConstraint class.
Flag the constraint to use the supplied IComparer object.
Flag the constraint to use the supplied IComparer object.
Flag the constraint to use the supplied IComparer object.
Flag the constraint to use the supplied Comparison object.
Flag the constraint to use the supplied IEqualityComparer object.
Flag the constraint to use the supplied IEqualityComparer object.
Flag the constraint to use a tolerance when determining equality.