Edytuj

Udostępnij za pośrednictwem


ToleranceMode Enum

Definition

Modes in which the tolerance value for a comparison can be interpreted.

public enum ToleranceMode
type ToleranceMode = 
Inheritance
ToleranceMode

Fields

Name Value Description
None 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.

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.

Applies to