[Scummvm-git-logs] scummvm master -> 9b993aed00a12aed6d13a233fa9a78c4241de97e

dafioram dafioram at gmail.com
Fri Apr 12 01:01:19 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9b993aed00 TESTS: reduce precision for math tests


Commit: 9b993aed00a12aed6d13a233fa9a78c4241de97e
    https://github.com/scummvm/scummvm/commit/9b993aed00a12aed6d13a233fa9a78c4241de97e
Author: David Fioramonti (dafioram at gmail.com)
Date: 2019-04-11T15:59:45-07:00

Commit Message:
TESTS: reduce precision for math tests

I can't reproduce any precision issues on my machine so this
is only a guess.

Changed paths:
    test/common/math.h


diff --git a/test/common/math.h b/test/common/math.h
index d523213..7ed6a87 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:





More information about the Scummvm-git-logs mailing list