X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FINTERP_KERNELTest%2FQuadraticPlanarInterpTest2.cxx;h=320130acb7c142b40a70620ae219207a6b7ce4e6;hb=2a3bcb5df3bea7510a76f2819dc261f65e4ef650;hp=8afcabf70d647979862a2b539df389be579e767d;hpb=659f8c67d0348350e12fde38fe8c4de1ff95dffe;p=tools%2Fmedcoupling.git diff --git a/src/INTERP_KERNELTest/QuadraticPlanarInterpTest2.cxx b/src/INTERP_KERNELTest/QuadraticPlanarInterpTest2.cxx index 8afcabf70..320130acb 100644 --- a/src/INTERP_KERNELTest/QuadraticPlanarInterpTest2.cxx +++ b/src/INTERP_KERNELTest/QuadraticPlanarInterpTest2.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -349,7 +349,7 @@ void QuadraticPlanarInterpTest::IntersectArcCircleBase() delete intersector; e2->decrRef(); e1->decrRef(); } // Tangent intersection - QUADRATIC_PLANAR::setPrecision(1e-5); + QuadraticPlanarPrecision::setPrecision(1e-5); for(unsigned k=0;k<8;k++) { double center2[2]; center[0]=0.; center[1]=0.; @@ -361,7 +361,7 @@ void QuadraticPlanarInterpTest::IntersectArcCircleBase() bool obvious,areOverlapped; intersector->areOverlappedOrOnlyColinears(0,obvious,areOverlapped); CPPUNIT_ASSERT(!obvious && !areOverlapped); - CPPUNIT_ASSERT(intersector->intersect(0,v4,order,v3)); CPPUNIT_ASSERT(order); // order has no sence here because v4.size() expected to 1 but for valgrind serenity test. + CPPUNIT_ASSERT(intersector->intersect(0,v4,order,v3)); CPPUNIT_ASSERT(order); // order has no sense here because v4.size() expected to 1 but for valgrind serenity test. CPPUNIT_ASSERT_EQUAL(1,(int)v4.size()); CPPUNIT_ASSERT_EQUAL(0,(int)v3.getNumberOfAssociations()); CPPUNIT_ASSERT_DOUBLES_EQUAL(e1->getRadius(),Node::distanceBtw2Pt(e1->getCenter(),(*(v4[0]))),ADMISSIBLE_ERROR); CPPUNIT_ASSERT_DOUBLES_EQUAL(e2->getRadius(),Node::distanceBtw2Pt(e2->getCenter(),(*(v4[0]))),ADMISSIBLE_ERROR); @@ -370,7 +370,7 @@ void QuadraticPlanarInterpTest::IntersectArcCircleBase() v4.clear(); v4.clear(); delete intersector; e2->decrRef(); e1->decrRef(); } - QUADRATIC_PLANAR::setPrecision(1e-14); + QuadraticPlanarPrecision::setPrecision(1e-14); // Extremities # 1 for(unsigned k=0;k<8;k++) {