]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Additionnal checks.
authorageay <ageay>
Fri, 14 Dec 2012 09:11:55 +0000 (09:11 +0000)
committerageay <ageay>
Fri, 14 Dec 2012 09:11:55 +0000 (09:11 +0000)
src/MEDCoupling/Test/MEDCouplingBasicsTest4.cxx

index e422be808d08be5c64c369a321945463744942be..ebfc5594e6578e4dadd92e33d27c241f12d01a3d 100644 (file)
@@ -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();