EqualTimeBasedConstraintWithTimeSpanTolerance<T>
public class EqualTimeBasedConstraintWithTimeSpanTolerance<T> : Constraint where T : IEquatable<T>, IComparable<T>
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.
public EqualTimeBasedConstraintWithTimeSpanTolerance(T expected, Func<T, long> getTicks, TimeSpan tolerance)
Initializes a new instance of the EqualConstraint class.
Test whether the constraint is satisfied by a given value