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

Diff of /trunk/test.py

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

revision 1024 by johnpye, Wed Jan 3 10:27:43 2007 UTC revision 1026 by johnpye, Wed Jan 3 12:03:08 2007 UTC
# Line 240  class TestExtFn(AscendSelfTester): Line 240  class TestExtFn(AscendSelfTester):
240    
241  class TestExtPy(AscendSelfTester):  class TestExtPy(AscendSelfTester):
242      def testextpytest(self):      def testextpytest(self):
243            print "-------------------=--=-=-=-"
244          M = self._run('extpytest',filename='johnpye/extpy/extpytest.a4c')          M = self._run('extpytest',filename='johnpye/extpy/extpytest.a4c')
245    
246  #-------------------------------------------------------------------------------  #-------------------------------------------------------------------------------
# Line 327  class TestIDADENSE(Ascend): Line 328  class TestIDADENSE(Ascend):
328          assert abs(M.F - 21.36) < 0.1          assert abs(M.F - 21.36) < 0.1
329                    
330      def testdenx(self):      def testdenx(self):
331            print "-----------------------------====="
332          self.L.load('johnpye/idadenx.a4c')          self.L.load('johnpye/idadenx.a4c')
333          M = self.L.findType('idadenx').getSimulation('sim')          M = self.L.findType('idadenx').getSimulation('sim')
334          M.setSolver(ascpy.Solver("QRSlv"))          M.setSolver(ascpy.Solver("QRSlv"))

Legend:
Removed from v.1024  
changed lines
  Added in v.1026

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