]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Little check.
authorageay <ageay>
Mon, 11 Feb 2013 09:01:40 +0000 (09:01 +0000)
committerageay <ageay>
Mon, 11 Feb 2013 09:01:40 +0000 (09:01 +0000)
src/MEDLoader/Swig/MEDLoaderTest3.py

index 5d972d5bf62641932b999916936ef884901c7910..3f66653fdcaa24a09d82dfc436b48dd8ee5035ff 100644 (file)
@@ -1998,6 +1998,10 @@ class MEDLoaderTest(unittest.TestCase):
         m1=MEDFileCurveLinearMesh(fname)
         mm=m1.getMesh()
         self.assertTrue(mm.isEqual(mesh,1e-12))
+        #
+        m1=MEDFileMesh.New(fname)
+        self.assertTrue(isinstance(m1,MEDFileCurveLinearMesh))
+        self.assertTrue(m1.getMesh().isEqual(mesh,1e-12))
         pass
 
     pass