summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-06 16:34:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-06 16:35:53 +0200
commit187d7f8f527217c1f958feec7d3a83f866a8e477 (patch)
tree501ec90fe10c8d67fe584be95fb03b976bd152e5 /test
parentf5e2a466066053d70e5ff6a0cc1857910b01a9b6 (diff)
CPPUNIT_ASSERT[_DOUBLES]_EQUAL
Change-Id: I417cea926abcc511e74a090ee90a851c138ac0c0
Diffstat (limited to 'test')
-rw-r--r--test/source/sheet/xdatapilottable2.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/source/sheet/xdatapilottable2.cxx b/test/source/sheet/xdatapilottable2.cxx
index 7be89cbd6883..235fa5090878 100644
--- a/test/source/sheet/xdatapilottable2.cxx
+++ b/test/source/sheet/xdatapilottable2.cxx
@@ -88,8 +88,7 @@ void XDataPilotTable2::testGetDrillDownData()
}
}
- std::cout << "Sum: " << sum << "; nVal: " << nVal << std::endl;
- CPPUNIT_ASSERT(sum == nVal);
+ CPPUNIT_ASSERT_DOUBLES_EQUAL(nVal, sum, 1E-12);
}