Generic Precision Test Tools
.NET 8.0
MSTest
PrecisionAssert.AreEqual(expected: 1, actual: 1 + 1e-10, abserr: 1e-11);
PrecisionAssert.AlmostEqual(expected: 1, actual: 1 + 1e-10, relerr: 1e-11);
PrecisionAssert.AlmostEqual(expected: 1, actual: 1 + 1e-10, relerr: 1e-11, abserr: 1e-12);