... | @@ -11,7 +11,11 @@ For each file, there is a field `"method"` that is used to define how to compare |
... | @@ -11,7 +11,11 @@ For each file, there is a field `"method"` that is used to define how to compare |
|
##### "method": "absolute"
|
|
##### "method": "absolute"
|
|
|
|
|
|
This method compares the absolute difference between two values: `|base-test|`.
|
|
This method compares the absolute difference between two values: `|base-test|`.
|
|
The field `"tolerance": [float]` contains the maximum-allowed difference between two values. If `|base-test| <= tolerance`, the test succeeds.
|
|
The field `"tolerance": [float]` contains the maximum-allowed difference between two values. If
|
|
|
|
```math
|
|
|
|
|base - test| <= tolerance
|
|
|
|
```
|
|
|
|
the test succeeds.
|
|
|
|
|
|
##### "method": "relative"
|
|
##### "method": "relative"
|
|
|
|
|
... | | ... | |