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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 155 - (show annotations)
Wed Nov 9 02:02:19 2005 UTC (13 years, 11 months ago) by jgs
Original Path: trunk/finley/test/python/test_utilOnFinley.py
File MIME type: text/x-python
File size: 660 byte(s)
move all directories from trunk/esys2 into trunk and remove esys2

1 # $Id$
2
3 import unittest
4 from esys.escript.test_util import Test_util_with_tagged_Data
5 from esys.escript import FunctionOnBoundary
6 from esys.finley import Rectangle
7 import sys
8
9 class Test_UtilOnFinley(Test_util_with_tagged_Data):
10 def setUp(self):
11 self.__dom =Rectangle(10,10,2)
12 self.functionspace = FunctionOnBoundary(self.__dom) # due to a bug in escript python needs to hold a reference to the domain
13
14 if __name__ == '__main__':
15 suite = unittest.TestSuite()
16 suite.addTest(unittest.makeSuite(Test_UtilOnFinley))
17 s=unittest.TextTestRunner(verbosity=2).run(suite)
18 if s.wasSuccessful():
19 sys.exit(0)
20 else:
21 sys.exit(1)
22

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26