<PackageReference Include="NUnit" Version="4.3.2" />

NUnit.Framework.Constraints.EqualTimeBasedConstraintWithNumericTolerance<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.
namespace NUnit.Framework.Constraints { public class EqualTimeBasedConstraintWithNumericTolerance<T> where T : IEquatable<T>, IComparable<T> { public ConstraintBuilder Builder { get; set; } public EqualTimeBasedConstraintWithTimeSpanTolerance<T> Days { get; } public EqualTimeBasedConstraintWithTimeSpanTolerance<T> Hours { get; } public EqualTimeBasedConstraintWithTimeSpanTolerance<T> Minutes { get; } public EqualTimeBasedConstraintWithTimeSpanTolerance<T> Seconds { get; } public EqualTimeBasedConstraintWithTimeSpanTolerance<T> Milliseconds { get; } public EqualTimeBasedConstraintWithTimeSpanTolerance<T> Ticks { get; } public EqualTimeBasedConstraintWithNumericTolerance(T expected, Func<T, long> getTicks, double tolerance); } }