... | @@ -10,10 +10,10 @@ For each file, there is a field `"method"` that is used to define how to compare |
... | @@ -10,10 +10,10 @@ 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 the base and test result.
|
|
The field `"tolerance": [float]` contains the maximum-allowed difference between two values. If
|
|
The field `"tolerance": [float]` contains the maximum-allowed difference between both values. If
|
|
```math
|
|
```math
|
|
|base - test| <= tolerance
|
|
|/base - /test| <= /tolerance
|
|
```
|
|
```
|
|
the test succeeds.
|
|
the test succeeds.
|
|
|
|
|
... | | ... | |