/[escript]/trunk/downunder/test/python/run_coordinates.py
ViewVC logotype

Diff of /trunk/downunder/test/python/run_coordinates.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 25  __url__="https://launchpad.net/escript-f Line 25  __url__="https://launchpad.net/escript-f
25    
26  import logging  import logging
27  import esys.escriptcore.utestselect as unittest  import esys.escriptcore.utestselect as unittest
28    from esys.escriptcore.testing import *
29  from esys.downunder.coordinates import *  from esys.downunder.coordinates import *
30  from esys.ripley import Brick, Rectangle  from esys.ripley import Brick, Rectangle
31  import esys.escript  import esys.escript
# Line 272  class TestCoordinates(unittest.TestCase) Line 273  class TestCoordinates(unittest.TestCase)
273           self.assertTrue(error<=RTOL/1000., "1-th scaling factor")             self.assertTrue(error<=RTOL/1000., "1-th scaling factor")  
274                    
275                    
276  if __name__ == "__main__":  if __name__ == '__main__':
277      suite = unittest.TestSuite()      run_tests(__name__, exit_on_failure=True)
     suite.addTest(unittest.makeSuite(TestCoordinates))  
     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