From: Anthony Geay Date: Thu, 23 Jul 2015 08:03:43 +0000 (+0200) Subject: Correct test. Geometric2D is presently not managed by the 1D/2Dcurve intersector... X-Git-Tag: V7_7_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d31c298cff2e528c6a32ba32b08b9391c10d9833;p=tools%2Fmedcoupling.git Correct test. Geometric2D is presently not managed by the 1D/2Dcurve intersector. Now an error is sent to avoid confusions. --- diff --git a/src/MEDCoupling/Test/MEDCouplingRemapperTest.cxx b/src/MEDCoupling/Test/MEDCouplingRemapperTest.cxx index 40f664910..f8a2e37ba 100644 --- a/src/MEDCoupling/Test/MEDCouplingRemapperTest.cxx +++ b/src/MEDCoupling/Test/MEDCouplingRemapperTest.cxx @@ -938,7 +938,7 @@ void MEDCouplingRemapperTest::testExtruded2() // MEDCouplingRemapper remapper; remapper.setPrecision(1e-12); - remapper.setIntersectionType(INTERP_KERNEL::Geometric2D); + remapper.setIntersectionType(INTERP_KERNEL::Triangulation); CPPUNIT_ASSERT_EQUAL(1,remapper.prepare(meshNE,meshTTE,"P0P0")); MEDCouplingFieldDouble *srcField=MEDCouplingFieldDouble::New(ON_CELLS); srcField->setNature(IntegralGlobConstraint);