NUnit.Framework.Constraints.ToleranceMode Enumeration
Modes in which the tolerance value for a comparison can be interpreted.


public enum ToleranceMode


Documentation for this section has not yet been entered.


Member NameDescription
Linear The tolerance is used as a numeric range within which two compared values are considered to be equal.
None 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.
Percent Interprets the tolerance as the percentage by which the two compared values my deviate from each other.
Ulps Compares two values based in their distance in representable numbers.


Namespace: NUnit.Framework.Constraints
Assembly: NUnitLite (in NUnitLite.dll)
Assembly Versions:,