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

Annotation of /trunk/finley/test/python/run_linearPDEsOnFinley.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations)
Tue Oct 25 01:51:20 2005 UTC (14 years, 5 months ago) by jgs
Original Path: trunk/esys2/finley/test/python/test_linearPDEsOnFinley.py
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 jgs 149 # $Id$
2    
3 jgs 153 import sys
4 jgs 149 import unittest
5 jgs 153
6 jgs 149 from esys.escript.test_linearPDEs import Test_Poisson,Test_LinearPDE
7 jgs 153 from esys.finley import Rectangle,Brick
8 jgs 149
9 jgs 153 class Test_LinearPDEOnFinley2DOrder1(Test_LinearPDE):
10 jgs 149 def setUp(self):
11 jgs 153 self.domain = Rectangle(20,20,1)
12 jgs 149
13 jgs 153 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 jgs 149 class Test_PoissonOnFinley(Test_Poisson):
26     def setUp(self):
27 jgs 153 self.domain = Rectangle(20,10,2)
28 jgs 149
29     if __name__ == '__main__':
30     suite = unittest.TestSuite()
31 jgs 153 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 jgs 149 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