From 9b68ad4f3746fe8ad6152c515d39b91c76e87b25 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 6 Sep 2017 16:19:14 +0200 Subject: [PATCH] Simplification of API of FieldTemplate::isEqual --- .../Test/MEDCouplingMeshFieldFactoryComponentClt.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MEDCouplingCorba/Test/MEDCouplingMeshFieldFactoryComponentClt.cxx b/src/MEDCouplingCorba/Test/MEDCouplingMeshFieldFactoryComponentClt.cxx index 2445de5de..ebb965c86 100644 --- a/src/MEDCouplingCorba/Test/MEDCouplingMeshFieldFactoryComponentClt.cxx +++ b/src/MEDCouplingCorba/Test/MEDCouplingMeshFieldFactoryComponentClt.cxx @@ -473,7 +473,7 @@ void SALOME_TEST::MEDCouplingCorbaServBasicsTestClt::checkCorbaFieldTemplateCell CORBA::release(fieldPtr); // MEDCoupling::MEDCouplingFieldTemplate *refField=SALOME_TEST::MEDCouplingCorbaServBasicsTest::buildFieldTemplateCellOn2D(); - CPPUNIT_ASSERT(fieldCpp->isEqual(refField,1.e-12,1.e-15)); + CPPUNIT_ASSERT(fieldCpp->isEqual(refField,1.e-12)); refField->decrRef(); fieldCpp->decrRef(); } @@ -486,7 +486,7 @@ void SALOME_TEST::MEDCouplingCorbaServBasicsTestClt::checkCorbaFieldTemplateNode CORBA::release(fieldPtr); // MEDCoupling::MEDCouplingFieldTemplate *refField=SALOME_TEST::MEDCouplingCorbaServBasicsTest::buildFieldTemplateNodeOn2D(); - CPPUNIT_ASSERT(fieldCpp->isEqual(refField,1.e-12,1.e-15)); + CPPUNIT_ASSERT(fieldCpp->isEqual(refField,1.e-12)); refField->decrRef(); fieldCpp->decrRef(); } @@ -499,7 +499,7 @@ void SALOME_TEST::MEDCouplingCorbaServBasicsTestClt::checkCorbaFieldTemplateGaus CORBA::release(fieldPtr); // MEDCoupling::MEDCouplingFieldTemplate *refField=SALOME_TEST::MEDCouplingCorbaServBasicsTest::buildFieldTemplateGaussPtOn2D(); - CPPUNIT_ASSERT(fieldCpp->isEqual(refField,1.e-12,1.e-15)); + CPPUNIT_ASSERT(fieldCpp->isEqual(refField,1.e-12)); refField->decrRef(); fieldCpp->decrRef(); } @@ -512,7 +512,7 @@ void SALOME_TEST::MEDCouplingCorbaServBasicsTestClt::checkCorbaFieldTemplateGaus CORBA::release(fieldPtr); // MEDCoupling::MEDCouplingFieldTemplate *refField=SALOME_TEST::MEDCouplingCorbaServBasicsTest::buildFieldTemplateGaussNEOn2D(); - CPPUNIT_ASSERT(fieldCpp->isEqual(refField,1.e-12,1.e-15)); + CPPUNIT_ASSERT(fieldCpp->isEqual(refField,1.e-12)); refField->decrRef(); fieldCpp->decrRef(); } -- 2.39.2