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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 627 - (show annotations)
Thu Mar 23 02:22:46 2006 UTC (13 years, 2 months ago) by elspeth
File MIME type: text/x-python
File size: 933 byte(s)
Copyright information added.

1 # $Id$
2 __copyright__=""" Copyright (c) 2006 by ACcESS MNRF
3 http://www.access.edu.au
4 Primary Business: Queensland, Australia"""
5 __license__="""Licensed under the Open Software License version 3.0
6 http://www.opensource.org/licenses/osl-3.0.php"""
7
8 import unittest
9 from esys.escript.test_util import Test_util_no_tagged_data as Test_util
10 from esys.escript.test_symbols import Test_symbols
11 from esys.escript import ContinuousFunction
12 from esys.finley import Rectangle
13 import sys
14
15 class Test_UtilOnBruce(Test_util,Test_symbols):
16 def setUp(self):
17 self.domain =Rectangle(10,10,2)
18 self.functionspace = ContinuousFunction(self.domain)
19
20 if __name__ == '__main__':
21 suite = unittest.TestSuite()
22 suite.addTest(unittest.makeSuite(Test_UtilOnBruce))
23 s=unittest.TextTestRunner(verbosity=2).run(suite)
24 if s.wasSuccessful():
25 sys.exit(0)
26 else:
27 sys.exit(1)
28

  ViewVC Help
Powered by ViewVC 1.1.26