]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
One more FED24
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 5 Apr 2017 08:15:11 +0000 (10:15 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 5 Apr 2017 08:15:11 +0000 (10:15 +0200)
src/MEDLoader/Swig/MEDLoaderTest3.py

index a16b122e5228c282139bd5617367c88d921e8a65..b2d78deea83118d12a2d766111dcd92d1bf8835a 100644 (file)
@@ -3105,7 +3105,7 @@ class MEDLoaderTest3(unittest.TestCase):
         self.assertEqual(ff0.getUndergroundDataArray().getIJ(30,1),5.5)
         self.assertTrue(not ff0.getUndergroundDataArray().isEqualWithoutConsideringStr(arr,1e-14))
         heap_memory_ref=ff0.getHeapMemorySize()
-        self.assertIn(heap_memory_ref,xrange(1100,1384+2*strMulFac))
+        self.assertIn(heap_memory_ref,xrange(1100,1384+3*strMulFac))
         ff0.unloadArrays()
         hmd=ff0.getHeapMemorySize()-heap_memory_ref
         self.assertEqual(hmd,-800) # -50*8*2
@@ -3114,7 +3114,7 @@ class MEDLoaderTest3(unittest.TestCase):
         #
         ff0=MEDFileField1TS(fname,"FieldCellPfl",-1,-1,False)
         heap_memory_ref=ff0.getHeapMemorySize()
-        self.assertIn(heap_memory_ref,xrange(299,520+6*strMulFac))
+        self.assertIn(heap_memory_ref,xrange(299,520+7*strMulFac))
         ff0.loadArrays() ##
         self.assertTrue(ff0.getUndergroundDataArray().isEqualWithoutConsideringStr(arr,1e-14))
         self.assertEqual(ff0.getHeapMemorySize()-heap_memory_ref,50*8*2)