<PackageReference Include="NUnit" Version="5.0.0-beta.1" />

NUnit.Framework.Constraints.EqualTimeBasedConstraintWithNumericTolerance<T>

public ConstraintBuilder Builder { get; set; }

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.