From 67750e79ea49480ca53e66ec482f0879173cfebb Mon Sep 17 00:00:00 2001 From: ageay Date: Mon, 11 Feb 2013 09:01:40 +0000 Subject: [PATCH] Little check. --- src/MEDLoader/Swig/MEDLoaderTest3.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/MEDLoader/Swig/MEDLoaderTest3.py b/src/MEDLoader/Swig/MEDLoaderTest3.py index 5d972d5bf..3f66653fd 100644 --- a/src/MEDLoader/Swig/MEDLoaderTest3.py +++ b/src/MEDLoader/Swig/MEDLoaderTest3.py @@ -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 -- 2.39.2