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

Contents of /trunk/finley/test/python/test_symbolsOnFinley.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 296 - (show annotations)
Fri Dec 2 03:55:36 2005 UTC (13 years, 10 months ago) by gross
File MIME type: text/x-python
File size: 1369 byte(s)
test passes now
1 # $Id:$
2
3 #
4 # COPYRIGHT ACcESS 2004 - All Rights Reserved
5 #
6 # This software is the property of ACcESS. No part of this code
7 # may be copied in any form or by any means without the expressed written
8 # consent of ACcESS. Copying, use or modification of this software
9 # by any unauthorised person is illegal unless that
10 # person has a software license agreement with ACcESS.
11 #
12
13 """
14 runs the test_symbol test for the symbols.py module
15
16 @remark:
17 @var __author__: name of author
18 @var __licence__: licence agreement
19 @var __url__: url entry point on documentation
20 @var __version__: version
21 @var __date__: date of the version
22 """
23
24 __author__="Lutz Gross, l.gross@uq.edu.au"
25 __licence__="contact: esys@access.uq.edu.au"
26 __url__="http://www.iservo.edu.au/esys/escript"
27 __version__="$Revision$"
28 __date__="$Date$"
29
30
31 from esys.escript.test_symbols import Test_symbols
32 from esys.escript import FunctionOnBoundary
33 from esys.finley import Rectangle
34 import unittest
35 import sys
36
37 class Test_UtilOnBruce(Test_symbols):
38 def setUp(self):
39 self.__dom =Rectangle(10,10,2)
40 self.functionspace = FunctionOnBoundary(self.__dom)
41
42 if __name__ == '__main__':
43 suite = unittest.TestSuite()
44 suite.addTest(unittest.makeSuite(Test_UtilOnBruce))
45 s=unittest.TextTestRunner(verbosity=2).run(suite)
46 if s.wasSuccessful():
47 sys.exit(0)
48 else:
49 sys.exit(1)
50

  ViewVC Help
Powered by ViewVC 1.1.26