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

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

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

revision 441 by gross, Fri Jan 20 00:16:58 2006 UTC revision 442 by gross, Fri Jan 20 04:39:43 2006 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2    
3  import unittest  import unittest
4  from esys.escript.test_util import Test_util_no_tagged_data as Test_util  from esys.escript.test_util import Test_util_base as Test_util
5    # from esys.escript.test_util import Test_util_no_tagged_data as Test_util
6  from esys.escript.test_util import Test_Util_SpatialFunctions  from esys.escript.test_util import Test_Util_SpatialFunctions
7  from esys.escript import FunctionOnBoundary  from esys.escript import FunctionOnBoundary
8  from esys.finley import Rectangle,Brick,JoinFaces  from esys.finley import Rectangle,Brick,JoinFaces
# Line 9  import sys Line 10  import sys
10    
11  class Test_UtilOnFinley(Test_util):  class Test_UtilOnFinley(Test_util):
12     def setUp(self):     def setUp(self):
13         self.__dom =Rectangle(10,10,2)         self.domain =Rectangle(10,10,2)
14         self.functionspace = FunctionOnBoundary(self.__dom) # due to a bug in escript python needs to hold a reference to the domain         self.functionspace = FunctionOnBoundary(self.domain) # due to a bug in escript python needs to hold a reference to the domain
15    
16  class Test_Util_SpatialFunctionsOnFinley2DOrder1(Test_Util_SpatialFunctions):  class Test_Util_SpatialFunctionsOnFinley2DOrder1(Test_Util_SpatialFunctions):
17      def setUp(self):      def setUp(self):
# Line 48  class Test_Util_SpatialFunctionsOnFinley Line 49  class Test_Util_SpatialFunctionsOnFinley
49  if __name__ == '__main__':  if __name__ == '__main__':
50     suite = unittest.TestSuite()     suite = unittest.TestSuite()
51     suite.addTest(unittest.makeSuite(Test_UtilOnFinley))     suite.addTest(unittest.makeSuite(Test_UtilOnFinley))
52     suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinley2DOrder1))     # suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinley2DOrder1))
53     suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinley2DOrder2))     # suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinley2DOrder2))
54     suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinley3DOrder1))     # suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinley3DOrder1))
55     suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinley3DOrder2))     # suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinley3DOrder2))
56     s=unittest.TextTestRunner(verbosity=2).run(suite)     s=unittest.TextTestRunner(verbosity=2).run(suite)
57     if s.wasSuccessful():     if s.wasSuccessful():
58       sys.exit(0)       sys.exit(0)

Legend:
Removed from v.441  
changed lines
  Added in v.442

  ViewVC Help
Powered by ViewVC 1.1.26