]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Simplification of API of FieldTemplate::isEqual
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 6 Sep 2017 14:19:14 +0000 (16:19 +0200)
committeruhz <ulysse.humbert-gonzalez@opencascade.com>
Thu, 7 Sep 2017 09:08:29 +0000 (11:08 +0200)
src/MEDCouplingCorba/Test/MEDCouplingMeshFieldFactoryComponentClt.cxx

index 2445de5dec8af03e4460a93825100f8d0a4fbe70..ebb965c86fc1e02db48c963cd7557f00f9891cc1 100644 (file)
@@ -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();
 }