From: ageay Date: Fri, 14 Dec 2012 09:11:55 +0000 (+0000) Subject: Additionnal checks. X-Git-Tag: V6_main_FINAL~460 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2c26eef8b643ad8dc8f50ae4c72b1c89485d1ea6;p=tools%2Fmedcoupling.git Additionnal checks. --- diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest4.cxx b/src/MEDCoupling/Test/MEDCouplingBasicsTest4.cxx index e422be808..ebfc5594e 100644 --- a/src/MEDCoupling/Test/MEDCouplingBasicsTest4.cxx +++ b/src/MEDCoupling/Test/MEDCouplingBasicsTest4.cxx @@ -1898,6 +1898,7 @@ void MEDCouplingBasicsTest4::testDAIBuildOld2NewArrayFromSurjectiveFormat2() CPPUNIT_ASSERT_EQUAL(7,newNbTuple); CPPUNIT_ASSERT_EQUAL(1,ret->getNumberOfComponents()); CPPUNIT_ASSERT(std::equal(expected,expected+10,ret->getConstPointer())); + CPPUNIT_ASSERT_THROW(DataArrayInt::BuildOld2NewArrayFromSurjectiveFormat2(9,a,b,newNbTuple),INTERP_KERNEL::Exception); ret->decrRef(); b->decrRef(); a->decrRef();