TESTS: reduce precision for math tests

I can't reproduce any precision issues on my machine so this
is only a guess.
This commit is contained in:
David Fioramonti 2019-04-11 15:59:13 -07:00
parent 88bca6a8de
commit 9b993aed00

View File

@ -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: