From: ageay Date: Tue, 15 Dec 2009 09:06:11 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_main_FINAL~276 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3a224b1e1d69f78364f472f1ea5a57cf9727a7ac;p=tools%2Fmedcoupling.git *** empty log message *** --- diff --git a/src/INTERP_KERNELTest/QuadraticPlanarInterpTest4.cxx b/src/INTERP_KERNELTest/QuadraticPlanarInterpTest4.cxx index 82e0dd1c1..d69d9db00 100644 --- a/src/INTERP_KERNELTest/QuadraticPlanarInterpTest4.cxx +++ b/src/INTERP_KERNELTest/QuadraticPlanarInterpTest4.cxx @@ -1625,7 +1625,8 @@ void QuadraticPlanarInterpTest::checkNormalize() QuadraticPolygon pol2; pol2.pushBack(e4_5); pol2.pushBack(e5_6); pol2.pushBack(e6_4); n1->decrRef(); n2->decrRef(); n3->decrRef(); n4->decrRef(); n5->decrRef(); n6->decrRef(); double area1Start=pol1.getArea(); - double fact=pol1.normalize(&pol2); + double xb,yb; + double fact=pol1.normalize(&pol2,xb,yb); double area1End=pol1.getArea(); CPPUNIT_ASSERT_DOUBLES_EQUAL(area1Start,area1End*fact*fact,1e-14); CPPUNIT_ASSERT_DOUBLES_EQUAL(13.,fact,1.e-14);