... | ... | @@ -15,11 +15,11 @@ The field `"tolerance": [float]` contains the maximum-allowed difference between |
|
|
```math
|
|
|
| base - test | <= tolerance
|
|
|
```
|
|
|
the test succeeds.
|
|
|
the test succeeds.
|
|
|
|
|
|
##### "method": "relative"
|
|
|
|
|
|
This method compares the relative difference between two values: $| (test-base) / base | <= tolerance$ or `|(test-base)/test| <= tolerance` if `base=0`. The field `"tolerance": [float]` contains the maximum-allowed difference.
|
|
|
This method compares the relative difference between two values: $`| (test - base) / base | <= tolerance`$ or $`| (test - base) / test | <= tolerance`$ if $`base = 0`$. The field `"tolerance": [float]` contains the maximum-allowed difference.
|
|
|
|
|
|
##### "method": "power"
|
|
|
|
... | ... | |