/[escript]/trunk/escript/test/python/test_linearPDEs.py
ViewVC logotype

Diff of /trunk/escript/test/python/test_linearPDEs.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3792 by caltinay, Wed Feb 1 06:16:25 2012 UTC revision 3793 by gross, Wed Feb 1 07:39:43 2012 UTC
# Line 2643  class Test_LinearPDE(Test_LinearPDE_noLu Line 2643  class Test_LinearPDE(Test_LinearPDE_noLu
2643    
2644  class Test_TransportPDE(Test_linearPDEs):  class Test_TransportPDE(Test_linearPDEs):
2645      N=4      N=4
2646      def test_init_useBackwardEuler(self):  
2647          mypde=TransportPDE(self.domain,debug=self.DEBUG, useBackwardEuler=True)      def test_init_Init(self):
2648          self.assertTrue(mypde.useBackwardEuler()==True,'backward Euler should be used')          mypde=TransportPDE(self.domain,debug=self.DEBUG)
2649      def test_init_donntUseBackwardEuler(self):  
         mypde=TransportPDE(self.domain,debug=self.DEBUG, useBackwardEuler=False)  
         self.assertTrue(mypde.useBackwardEuler()==False,'backward Euler should not be used')  
2650      def test_setCoefficient_WithWrongName(self):      def test_setCoefficient_WithWrongName(self):
2651          mypde=TransportPDE(self.domain,debug=self.DEBUG)          mypde=TransportPDE(self.domain,debug=self.DEBUG)
2652          self.assertRaises(IllegalCoefficient)          self.assertRaises(IllegalCoefficient)

Legend:
Removed from v.3792  
changed lines
  Added in v.3793

  ViewVC Help
Powered by ViewVC 1.1.26