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

NUnit.Framework.Constraints.Tolerance

public sealed class Tolerance
namespace NUnit.Framework.Constraints { public sealed class Tolerance { public readonly struct Range { public readonly object LowerBound; public readonly object UpperBound; public Range(object lowerBound, object upperBound); } public static readonly Tolerance Default; public static readonly Tolerance Exact; public Tolerance Percent { get; } public Tolerance Ulps { get; } public Tolerance Days { get; } public Tolerance Hours { get; } public Tolerance Minutes { get; } public Tolerance Seconds { get; } public Tolerance Milliseconds { get; } public Tolerance Ticks { get; } public ToleranceMode Mode { get; } public object Amount { get; } public bool IsUnsetOrDefault { get; } public bool HasVariance { get; } public Tolerance(object amount); public Range ApplyToValue(object value); } }