NUnit.Framework.Constraints.EqualTimeBasedConstraintWithNumericTolerance<T>
public class EqualTimeBasedConstraintWithNumericTolerance<T> where T : IEquatable<T>, IComparable<T>
Causes the tolerance to be interpreted as a TimeSpan in hours.
Causes the tolerance to be interpreted as a TimeSpan in milliseconds.
Causes the tolerance to be interpreted as a TimeSpan in minutes.
Causes the tolerance to be interpreted as a TimeSpan in seconds.
Causes the tolerance to be interpreted as a TimeSpan in clock ticks.
public EqualTimeBasedConstraintWithNumericTolerance(T expected, Func<T, long> getTicks, double tolerance)
Initializes a new instance of the EqualConstraint class.