diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-07-30 03:24:20 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-07-30 18:35:55 +0000 |
commit | b3537a541053ab1c3c20664b4994fffe6ae26e7a (patch) | |
tree | 9420298e35bc66488e6f06f11ad3855596d1675d /sc/qa/unit/opencl-test.cxx | |
parent | 2acc9d06291b3f271c2a88bb4995d52d2d8d2152 (diff) |
loplugin:cppunitassertequals
Change-Id: Iaf1874409310f2728a5170e4b08d5a8a81999ded
Reviewed-on: https://gerrit.libreoffice.org/27713
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/qa/unit/opencl-test.cxx')
-rw-r--r-- | sc/qa/unit/opencl-test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx index 8b71bb0463ac..64290cdcdae2 100644 --- a/sc/qa/unit/opencl-test.cxx +++ b/sc/qa/unit/opencl-test.cxx @@ -749,10 +749,10 @@ void ScOpenCLTest::testSystematic() CPPUNIT_ASSERT(nBVertBegin != 0); CPPUNIT_ASSERT(nAVertEnd > nAVertBegin + 100); CPPUNIT_ASSERT(nBVertEnd > nBVertBegin + 100); - CPPUNIT_ASSERT((nAVertEnd-nAVertBegin) == (nBVertEnd-nBVertBegin)); + CPPUNIT_ASSERT_EQUAL(nAVertEnd-nAVertBegin, nBVertEnd-nBVertBegin); CPPUNIT_ASSERT(nAHorEnd > 10); CPPUNIT_ASSERT(nBHorEnd > 10); - CPPUNIT_ASSERT(nAHorEnd == nBHorEnd); + CPPUNIT_ASSERT_EQUAL(nAHorEnd, nBHorEnd); for (SCROW i = nAVertBegin; i < nAVertEnd; ++i) { |