diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/corelib/tools/qpointf/tst_qpointf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/tools/qpointf/tst_qpointf.cpp b/tests/auto/corelib/tools/qpointf/tst_qpointf.cpp index fc79b40a18..52a6d3aa46 100644 --- a/tests/auto/corelib/tools/qpointf/tst_qpointf.cpp +++ b/tests/auto/corelib/tools/qpointf/tst_qpointf.cpp @@ -284,12 +284,12 @@ void tst_QPointF::division() { QPointF p(1e-14, 1e-14); p = p / sqrt(dot(p, p)); - qFuzzyCompare(dot(p, p), 1); + QCOMPARE(dot(p, p), qreal(1.0)); } { QPointF p(1e-14, 1e-14); p /= sqrt(dot(p, p)); - qFuzzyCompare(dot(p, p), 1); + QCOMPARE(dot(p, p), qreal(1.0)); } } |