]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
On MD10 32 bits the test is too strong. release the eps.
authorageay <ageay>
Thu, 18 Jul 2013 12:34:50 +0000 (12:34 +0000)
committerageay <ageay>
Thu, 18 Jul 2013 12:34:50 +0000 (12:34 +0000)
src/MEDCoupling_Swig/MEDCouplingBasicsTest.py

index 0f7e74cf0787044b4ce83628eef6ba0ab701c653..b727ddeb526bcb6b1495786aaae114d7a68d5741 100644 (file)
@@ -11641,10 +11641,10 @@ class MEDCouplingBasicsTest(unittest.TestCase):
         arr[:,1]+=1000
         f.setArray(arr)
         f.checkCoherency()
-        self.assertTrue(DataArrayDouble(f.integral(False)).isEqual(DataArrayDouble([-211.66121638700983,-4863.9563007698835]),1e-12))
-        self.assertTrue(DataArrayDouble(f.getWeightedAverageValue()).isEqual(DataArrayDouble([45.496085813113595,1045.496085813114]),1e-12))
-        self.assertTrue(DataArrayDouble(f.normL1()).isEqual(DataArrayDouble([45.49608581311362,1045.496085813114]),1e-12))
-        self.assertTrue(DataArrayDouble(f.normL2()).isEqual(DataArrayDouble([58.16846378340898,1046.1241521947334]),1e-12))
+        self.assertTrue(DataArrayDouble(f.integral(False)).isEqual(DataArrayDouble([-211.66121638700983,-4863.9563007698835]),1e-11))
+        self.assertTrue(DataArrayDouble(f.getWeightedAverageValue()).isEqual(DataArrayDouble([45.496085813113595,1045.496085813114]),1e-11))
+        self.assertTrue(DataArrayDouble(f.normL1()).isEqual(DataArrayDouble([45.49608581311362,1045.496085813114]),1e-11))
+        self.assertTrue(DataArrayDouble(f.normL2()).isEqual(DataArrayDouble([58.16846378340898,1046.1241521947334]),1e-11))
         pass
 
     def testSwig2FieldDiscretizationComputeMeshRestrictionFromTupleIds1(self):