/[escript]/trunk/bruce/test/python/test_utilOnBruce.py
ViewVC logotype

Annotation of /trunk/bruce/test/python/test_utilOnBruce.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 444 - (hide annotations)
Sun Jan 22 23:56:14 2006 UTC (15 years, 9 months ago) by gross
File MIME type: text/x-python
File size: 581 byte(s)
required modifications to get the tests going
1 gross 289 # $Id$
2    
3     import unittest
4     from esys.escript.test_util import Test_util_no_tagged_data as Test_util
5     from esys.escript import ContinuousFunction
6     from esys.finley import Rectangle
7     import sys
8    
9     class Test_UtilOnBruce(Test_util):
10     def setUp(self):
11 gross 444 self.domain =Rectangle(10,10,2)
12     self.functionspace = ContinuousFunction(self.domain)
13 gross 289
14     if __name__ == '__main__':
15     suite = unittest.TestSuite()
16     suite.addTest(unittest.makeSuite(Test_UtilOnBruce))
17     s=unittest.TextTestRunner(verbosity=2).run(suite)
18     if s.wasSuccessful():
19     sys.exit(0)
20     else:
21     sys.exit(1)
22    

  ViewVC Help
Powered by ViewVC 1.1.26