diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-23 09:05:15 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-24 05:14:17 +0100 |
commit | ef59aa2e92cb1a1e9b8dfe7a234f06d44df8516c (patch) | |
tree | 8f5466bade11ad2a15e0208337773052caacf74b /sc/qa | |
parent | 843b7b614eaf624fcc19535e5d444bb40bc382be (diff) |
use ASSERT_DOUBLES_EQUAL instead of CPPUNIT_ASSERT_DOUBLES_EQUAL in calc
Change-Id: I55979aec2ab0140190f58f96ed108e8dd1e3a051
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/subsequent_export-test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index bf0ab4a8598f..db0879d5e759 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -125,7 +125,7 @@ void ScExportTest::test() CPPUNIT_ASSERT(xDocSh.Is()); ScDocument* pLoadedDoc = xDocSh->GetDocument(); double aVal = pLoadedDoc->GetValue(0,0,0); - CPPUNIT_ASSERT_DOUBLES_EQUAL(aVal, 1.0, 1e-8); + ASSERT_DOUBLES_EQUAL(aVal, 1.0); } void ScExportTest::testPasswordExport() @@ -149,7 +149,7 @@ void ScExportTest::testPasswordExport() CPPUNIT_ASSERT(xDocSh.Is()); ScDocument* pLoadedDoc = xDocSh->GetDocument(); double aVal = pLoadedDoc->GetValue(0,0,0); - CPPUNIT_ASSERT_DOUBLES_EQUAL(aVal, 1.0, 1e-8); + ASSERT_DOUBLES_EQUAL(aVal, 1.0); } void ScExportTest::testConditionalFormatExportODS() |