summaryrefslogtreecommitdiff
path: root/sal/qa/rtl/math/test-rtl-math.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/qa/rtl/math/test-rtl-math.cxx')
-rw-r--r--sal/qa/rtl/math/test-rtl-math.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/qa/rtl/math/test-rtl-math.cxx b/sal/qa/rtl/math/test-rtl-math.cxx
index 3e718940b097..36e404f122e9 100644
--- a/sal/qa/rtl/math/test-rtl-math.cxx
+++ b/sal/qa/rtl/math/test-rtl-math.cxx
@@ -65,28 +65,28 @@ public:
'.', ',', &status, &end);
CPPUNIT_ASSERT_EQUAL(rtl_math_ConversionStatus_Ok, status);
CPPUNIT_ASSERT_EQUAL(sal_Int32(3), end);
- CPPUNIT_ASSERT_EQUAL(rtl::math::isNan(res), true);
+ CPPUNIT_ASSERT_EQUAL(true, rtl::math::isNan(res));
res = rtl::math::stringToDouble(
rtl::OUString("NaN1.23"),
'.', ',', &status, &end);
CPPUNIT_ASSERT_EQUAL(rtl_math_ConversionStatus_Ok, status);
CPPUNIT_ASSERT_EQUAL(sal_Int32(3), end);
- CPPUNIT_ASSERT_EQUAL(rtl::math::isNan(res), true);
+ CPPUNIT_ASSERT_EQUAL(true, rtl::math::isNan(res));
res = rtl::math::stringToDouble(
rtl::OUString("INF"),
'.', ',', &status, &end);
CPPUNIT_ASSERT_EQUAL(rtl_math_ConversionStatus_OutOfRange, status);
CPPUNIT_ASSERT_EQUAL(sal_Int32(3), end);
- CPPUNIT_ASSERT_EQUAL(rtl::math::isInf(res), true);
+ CPPUNIT_ASSERT_EQUAL(true, rtl::math::isInf(res));
res = rtl::math::stringToDouble(
rtl::OUString("INF1.23"),
'.', ',', &status, &end);
CPPUNIT_ASSERT_EQUAL(rtl_math_ConversionStatus_OutOfRange, status);
CPPUNIT_ASSERT_EQUAL(sal_Int32(3), end);
- CPPUNIT_ASSERT_EQUAL(rtl::math::isInf(res), true);
+ CPPUNIT_ASSERT_EQUAL(true, rtl::math::isInf(res));
res = rtl::math::stringToDouble(
rtl::OUString(".5"),