diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-10-02 19:35:14 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-10-05 12:31:24 (GMT) |
commit | 67b794d91589f4ec68c6b55ea52d4f7e905d942c (patch) | |
tree | 1050ac81c0b15b304bd421cc51c736d2c99ff482 /tests/auto/qeasingcurve | |
parent | 4d33c51bf00be826b8036f58cd9aea0c1f44f8ce (diff) | |
download | Qt-67b794d91589f4ec68c6b55ea52d4f7e905d942c.zip Qt-67b794d91589f4ec68c6b55ea52d4f7e905d942c.tar.gz Qt-67b794d91589f4ec68c6b55ea52d4f7e905d942c.tar.bz2 |
Remove trailing whitespace
Diffstat (limited to 'tests/auto/qeasingcurve')
-rw-r--r-- | tests/auto/qeasingcurve/tst_qeasingcurve.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/qeasingcurve/tst_qeasingcurve.cpp b/tests/auto/qeasingcurve/tst_qeasingcurve.cpp index 8cf686e..1acd495 100644 --- a/tests/auto/qeasingcurve/tst_qeasingcurve.cpp +++ b/tests/auto/qeasingcurve/tst_qeasingcurve.cpp @@ -417,18 +417,18 @@ void tst_QEasingCurve::valueForProgress() // the least significant digit it is still subject to rounding errors qreal error = easeConv - ex; - qreal errorbound = 0.00001; + qreal errorbound = 0.00001; #if defined( Q_OS_WINCE ) || defined( Q_OS_SYMBIAN ) // exception values for WINCE(this test should be rewritten, as it only freezes the status quo of QEasingCurve // The failing (2) values are explicitly excepted here: // The source values for the comparison table should remain untruncated double and the // error bound checking function dynamic. Also the source values should come from a "trusted" source and not - // from QEasingCurve itself. + // from QEasingCurve itself. if ((type == int(QEasingCurve::InOutBounce) && (i == 8 || i == 6) ) || (type == int(QEasingCurve::OutExpo) && i == 2)) - errorbound = 0.0002; -#endif + errorbound = 0.0002; +#endif // accept the potential rounding error in the least significant digit - QVERIFY(error <= errorbound ); + QVERIFY(error <= errorbound ); } #endif } |