/[ascend]/trunk/test.py
ViewVC logotype

Diff of /trunk/test.py

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

revision 1343 by jpye, Sun Mar 11 13:57:34 2007 UTC revision 1344 by jpye, Mon Mar 12 00:08:34 2007 UTC
# Line 219  class TestLRSlv(AscendSelfTester): Line 219  class TestLRSlv(AscendSelfTester):
219    
220    
221  class TestCMSlv(AscendSelfTester):  class TestCMSlv(AscendSelfTester):
222        def testsonic(self):
223            M = self._run('sonic',"CMSlv","sonic.a4c")
224            assert(M.sonic_flow.getBoolValue())
225    
226            # other side of boundary...
227            M.D.setRealValueWithUnits(4.,"cm")  
228            T = self.L.findType('sonic')
229            M.solve(ascpy.Solver('CMSlv'),ascpy.SolverReporter())
230            M.run(T.getMethod('self_test'))
231            assert(not M.sonic_flow.getBoolValue())
232    
233      def testheatex(self):      def testheatex(self):
234          self._run('heatex',"CMSlv","heatex.a4c")          self._run('heatex',"CMSlv","heatex.a4c")
235      def testphaseeq(self):      def testphaseeq(self):

Legend:
Removed from v.1343  
changed lines
  Added in v.1344

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22