diff options
author | David Fioramonti | 2019-04-11 15:59:13 -0700 |
---|---|---|
committer | David Fioramonti | 2019-04-11 15:59:45 -0700 |
commit | 9b993aed00a12aed6d13a233fa9a78c4241de97e (patch) | |
tree | 548979a59a5e6c4f230094c1848c1965b90ab568 /test | |
parent | 88bca6a8decbffd403626efced04ccbea90e786e (diff) | |
download | scummvm-rg350-9b993aed00a12aed6d13a233fa9a78c4241de97e.tar.gz scummvm-rg350-9b993aed00a12aed6d13a233fa9a78c4241de97e.tar.bz2 scummvm-rg350-9b993aed00a12aed6d13a233fa9a78c4241de97e.zip |
TESTS: reduce precision for math tests
I can't reproduce any precision issues on my machine so this
is only a guess.
Diffstat (limited to 'test')
-rw-r--r-- | test/common/math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common/math.h b/test/common/math.h index d523213f81..7ed6a87ee4 100644 --- a/test/common/math.h +++ b/test/common/math.h @@ -8,7 +8,7 @@ #define TS_ASSERT_ALMOST_EQUALS(x, y, z) \ TS_ASSERT_LESS_THAN_EQUALS(((x) - (y)) >= 0 ? (x) - (y) : (y) - (x), z) -const float MAX_ERROR = 0.000001; +const float MAX_ERROR = 0.00001; class MathTestSuite : public CxxTest::TestSuite { public: |