/[escript]/trunk/ripley/test/python/run_escriptOnRipley.py
ViewVC logotype

Diff of /trunk/ripley/test/python/run_escriptOnRipley.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 24  __url__="https://launchpad.net/escript-f Line 24  __url__="https://launchpad.net/escript-f
24  import os  import os
25  import sys  import sys
26  import esys.escriptcore.utestselect as unittest  import esys.escriptcore.utestselect as unittest
27    from esys.escriptcore.testing import *
28  from esys.escript import *  from esys.escript import *
29  from esys.ripley import Rectangle, Brick, ripleycpp  from esys.ripley import Rectangle, Brick, ripleycpp
30  from test_objects import Test_Dump, Test_SetDataPointValue, Test_saveCSV, Test_TableInterpolation  from test_objects import Test_Dump, Test_SetDataPointValue, Test_saveCSV, Test_TableInterpolation
# Line 274  class Test_binaryGridOnRipley(unittest.T Line 274  class Test_binaryGridOnRipley(unittest.T
274              self.assertEqual(Lsup(zipped - unzipped), 0, "Data objects don't match for "+str(FS))              self.assertEqual(Lsup(zipped - unzipped), 0, "Data objects don't match for "+str(FS))
275    
276  if __name__ == '__main__':  if __name__ == '__main__':
277      suite = unittest.TestSuite()      run_tests(__name__, exit_on_failure=True)
     suite.addTest(unittest.makeSuite(Test_SharedOnRipley))  
     suite.addTest(unittest.makeSuite(Test_DataOpsOnRipley))  
     suite.addTest(unittest.makeSuite(Test_DomainOnRipley))  
     suite.addTest(unittest.makeSuite(Test_TableInterpolationOnRipley))  
     suite.addTest(unittest.makeSuite(Test_CSVOnRipley))  
     suite.addTest(unittest.makeSuite(Test_randomOnRipley))  
     suite.addTest(unittest.makeSuite(Test_binaryGridOnRipley))  
     s=unittest.TextTestRunner(verbosity=2).run(suite)  
     if not s.wasSuccessful(): sys.exit(1)  
278    

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

  ViewVC Help
Powered by ViewVC 1.1.26