diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-02-17 20:24:07 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-02-18 07:47:56 +0000 |
commit | de669d714fa6f7d33d6df6e323c72710f470f77c (patch) | |
tree | 88d5dcaf0981704bddd7cc81b655b854c7e19ff9 /sc | |
parent | ab8c349f7bc0348b54e6e0766c5bd6785b415ae5 (diff) |
use better asserter macro
Change-Id: I144545f5376acbab164e05aecd8937d336e50e9b
Reviewed-on: https://gerrit.libreoffice.org/22455
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/ucalc_formula.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index e3863bc8f182..d66233bf8593 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -5569,7 +5569,7 @@ void Test::testExternalRefFunctions() { m_pDoc->SetString(0, 0, 0, OUString::createFromAscii(aChecks[i].pFormula)); m_pDoc->GetValue(0, 0, 0, val); - CPPUNIT_ASSERT_MESSAGE("unexpected result involving external ranges.", val == aChecks[i].fResult); + CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("unexpected result involving external ranges.", aChecks[i].fResult, val, 1e-15); } pRefMgr->clearCache(nFileId); |