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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 798 - (show annotations)
Fri Aug 4 01:05:36 2006 UTC (12 years, 8 months ago) by gross
File MIME type: text/x-python
File size: 976 byte(s)
Reimplementation of the assemblage with persistent jacobeans.
There are also a few changes to the tests which has now
dramatically reduced the memory demand.


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 test_util import Test_util_no_tagged_data as Test_util
10 from test_symbols import Test_symbols
11 from esys.escript import ContinuousFunction
12 from esys.bruce import Rectangle
13 import sys
14
15 class Test_UtilOnBruce(Test_util,Test_symbols):
16 def setUp(self):
17 self.domain =Rectangle(10,10)
18 self.functionspace = ContinuousFunction(self.domain)
19
20 def tearDown(self):
21 del self.domain
22 del self.functionspace
23
24
25 if __name__ == '__main__':
26 suite = unittest.TestSuite()
27 suite.addTest(unittest.makeSuite(Test_UtilOnBruce))
28 s=unittest.TextTestRunner(verbosity=2).run(suite)
29 if s.wasSuccessful():
30 sys.exit(0)
31 else:
32 sys.exit(1)
33

  ViewVC Help
Powered by ViewVC 1.1.26