]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
More test.
authorageay <ageay>
Mon, 19 Nov 2012 07:26:25 +0000 (07:26 +0000)
committerageay <ageay>
Mon, 19 Nov 2012 07:26:25 +0000 (07:26 +0000)
src/MEDCoupling_Swig/MEDCouplingBasicsTest.py

index d48dc2ed9f4ad73b17e0815d7d11a84c33239f9f..b8e4bb57a7ec82d5eadecf46e3dd1a41cfbd4fb3 100644 (file)
@@ -10322,6 +10322,9 @@ class MEDCouplingBasicsTest(unittest.TestCase):
         fc=f[[1,2,3,8]]
         fc.checkCoherency()
         self.assertTrue(DataArrayDouble([13.7,14.7,15.7,16.7,17.7,18.7,19.7,20.7,21.7,22.7,23.7,24.7,25.7,26.7,27.7,28.7,29.7,30.7,31.7,32.7,33.7,34.7,35.7,36.7,82.7,83.7,84.7,85.7,86.7,87.7,88.7,89.7,90.7,91.7,92.7,93.7],12,3).isEqual(fc.getArray(),1e-10))
+        fc.renumberCells([3,2,0,1])
+        self.assertTrue(DataArrayDouble([28.7, 29.7, 30.7, 31.7, 32.7, 33.7, 34.7, 35.7, 36.7, 82.7, 83.7, 84.7, 85.7, 86.7, 87.7, 88.7, 89.7, 90.7, 91.7, 92.7, 93.7, 19.7, 20.7, 21.7, 22.7, 23.7, 24.7, 25.7, 26.7, 27.7, 13.7, 14.7, 15.7, 16.7, 17.7, 18.7],12,3).isEqual(fc.getArray(),1e-10))
+        fc.getArray()
         pass
 
     def setUp(self):