]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Add an unconditional test of pywrapping
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 18 Jan 2018 13:54:35 +0000 (14:54 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 18 Jan 2018 13:54:35 +0000 (14:54 +0100)
src/PyWrapping/TestPyWrapGathered_medcoupling.py

index f172a79b5956a46196838cd83779d3eb288776f3..27107dddfc34e369d12de1690d9a6be2d0e0d203 100644 (file)
@@ -48,6 +48,15 @@ class FileCreator(object):
         pass
         
 class medcouplingTest(unittest.TestCase):
+
+    def test0(self):
+        """ Unconditionnal test : medcoupling "kernel" classes """
+        f=MEDCouplingFieldDouble(ON_CELLS)
+        g=DataArrayDouble(10,2)
+        h=MEDCouplingUMesh("mesh",3)
+        hh=MEDCouplingRemapper()
+        ee=InterpKernelException("ee")
+        pass
     
     @unittest.skipUnless(HasMEDFileExt(),"Requires link to MED file")
     def test1(self):