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

Tolerance

public sealed class Tolerance
The Tolerance class generalizes the notion of a tolerance within which an equality test succeeds. Normally, it is used with numeric types, but it can be used with any type that supports taking a difference between two objects and comparing that difference to a value.
namespace NUnit.Framework { }