NUnit.Framework.Constraints.EqualTimeBasedConstraintWithNumericTolerance<T>
public class EqualTimeBasedConstraintWithNumericTolerance<T> 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.
namespace NUnit.Framework
{
public abstract class NUnitAttribute : Attribute
{
public NUnitAttribute();
}
}
namespace NUnit.Framework
{
public class TestCaseData<T1, T2, T3, T4, T5> : TestCaseData
{
public TestCaseData(T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5);
}
}
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);
}
}