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

Contents of /trunk/esys2/finley/test/python/test_linearPDEsOnFinley.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations)
Tue Oct 25 01:51:20 2005 UTC (14 years ago) by jgs
File MIME type: text/x-python
File size: 1233 byte(s)
Merge of development branch dev-02 back to main trunk on 2005-10-25

1 # $Id$
2
3 import sys
4 import unittest
5
6 from esys.escript.test_linearPDEs import Test_Poisson,Test_LinearPDE
7 from esys.finley import Rectangle,Brick
8
9 class Test_LinearPDEOnFinley2DOrder1(Test_LinearPDE):
10 def setUp(self):
11 self.domain = Rectangle(20,20,1)
12
13 class Test_LinearPDEOnFinley2DOrder2(Test_LinearPDE):
14 def setUp(self):
15 self.domain = Rectangle(20,20,2)
16
17 class Test_LinearPDEOnFinley3DOrder1(Test_LinearPDE):
18 def setUp(self):
19 self.domain = Brick(20,10,10,1)
20
21 class Test_LinearPDEOnFinley3DOrder2(Test_LinearPDE):
22 def setUp(self):
23 self.domain = Brick(10,10,20,2)
24
25 class Test_PoissonOnFinley(Test_Poisson):
26 def setUp(self):
27 self.domain = Rectangle(20,10,2)
28
29 if __name__ == '__main__':
30 suite = unittest.TestSuite()
31 suite.addTest(unittest.makeSuite(Test_LinearPDEOnFinley2DOrder1))
32 # suite.addTest(unittest.makeSuite(Test_LinearPDEOnFinley2DOrder2))
33 suite.addTest(unittest.makeSuite(Test_LinearPDEOnFinley3DOrder1))
34 suite.addTest(unittest.makeSuite(Test_LinearPDEOnFinley3DOrder2))
35 suite.addTest(unittest.makeSuite(Test_PoissonOnFinley))
36 s=unittest.TextTestRunner(verbosity=2).run(suite)
37 if s.wasSuccessful():
38 sys.exit(0)
39 else:
40 sys.exit(1)

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26