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

Diff of /trunk/test.py

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

revision 1161 by johnpye, Wed Jan 17 01:35:13 2007 UTC revision 1162 by johnpye, Wed Jan 17 04:34:59 2007 UTC
# Line 425  class TestExtFn(AscendSelfTester): Line 425  class TestExtFn(AscendSelfTester):
425          M = self._run('extrelrepeat',filename='johnpye/extfn/extrelrepeat.a4c')          M = self._run('extrelrepeat',filename='johnpye/extfn/extrelrepeat.a4c')
426    
427  #-------------------------------------------------------------------------------  #-------------------------------------------------------------------------------
428    # Testing of Sensitivity module
429    
430    class TestSensitivity(AscendSelfTester):
431        def test1(self):
432            self.L.load('sensitivity_test.a4c')
433            T = self.L.findType('sensitivity_test')
434            M = T.getSimulation('sim',False)
435            M.run(T.getMethod('on_load'))
436            M.solve(ascpy.Solver('QRSlv'),ascpy.SolverReporter())
437            M.run(T.getMethod('analyse'))
438                    
439    #-------------------------------------------------------------------------------
440  # Testing of a ExtPy - external python methods  # Testing of a ExtPy - external python methods
441    
442  class TestExtPy(AscendSelfTester):  class TestExtPy(AscendSelfTester):

Legend:
Removed from v.1161  
changed lines
  Added in v.1162

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