/[escript]/trunk/finley/test/python/run_generators.py
ViewVC logotype

Diff of /trunk/finley/test/python/run_generators.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4983 by jfenwick, Wed May 14 01:13:23 2014 UTC revision 4984 by sshaw, Mon Jun 2 02:50:34 2014 UTC
# Line 28  checks the mesh generators against the r Line 28  checks the mesh generators against the r
28  import sys  import sys
29  import os  import os
30  import esys.escriptcore.utestselect as unittest  import esys.escriptcore.utestselect as unittest
31    from esys.escriptcore.testing import *
32  from esys.escript import *  from esys.escript import *
33  from esys.finley import Rectangle,Brick,JoinFaces, ReadGmsh, ReadMesh  from esys.finley import Rectangle,Brick,JoinFaces, ReadGmsh, ReadMesh
34    
# Line 815  class Test_Integration(unittest.TestCase Line 816  class Test_Integration(unittest.TestCase
816        self.__test_3DT(my_dom,10,1./sqrt(EPSILON))        self.__test_3DT(my_dom,10,1./sqrt(EPSILON))
817    
818  if __name__ == '__main__':  if __name__ == '__main__':
819     suite = unittest.TestSuite()      run_tests(__name__, exit_on_failure=True)
    suite.addTest(unittest.makeSuite(Test_Generators))  
    suite.addTest(unittest.makeSuite(Test_GMSHReader))  
    suite.addTest(unittest.makeSuite(Test_Reader))  
    suite.addTest(unittest.makeSuite(Test_Integration))  
    s=unittest.TextTestRunner(verbosity=2).run(suite)  
    if not s.wasSuccessful(): sys.exit(1)  

Legend:
Removed from v.4983  
changed lines
  Added in v.4984

  ViewVC Help
Powered by ViewVC 1.1.26