diff options
-rw-r--r-- | tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp b/tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp index 9dc2c02c3b..526fbbabb2 100644 --- a/tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp +++ b/tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp @@ -370,6 +370,7 @@ void tst_QNumeric::distance() QEXPECT_FAIL("denormal", "See QTBUG-37094", Continue); #endif QCOMPARE(qFloatDistance(from, stop), expectedDistance); + QCOMPARE(qFloatDistance(stop, from), expectedDistance); } // Whole number tests: |