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

ToleranceMode

public enum ToleranceMode
Modes in which the tolerance value for a comparison can be interpreted.
Linear = 1

The tolerance is used as a numeric range within which two compared _values are considered to be equal.

Percent = 2

Interprets the tolerance as the percentage by which the two compared _values my deviate from each other.

Ulps = 3

Compares two _values based in their distance in representable numbers.

Unset = 0

The tolerance was created with a value, without specifying how the value would be used. This is used to prevent setting the mode more than once and is generally changed to Linear upon execution of the test.