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

Syntax

public enum ToleranceMode

Remarks

Documentation for this section has not yet been entered.

Members

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.

Requirements

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