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

Diff of /trunk/test.py

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

revision 2044 by jpye, Thu Aug 28 07:08:32 2008 UTC revision 2045 by jpye, Sun Jun 14 03:14:26 2009 UTC
# Line 250  class TestSolver(AscendSelfTester): Line 250  class TestSolver(AscendSelfTester):
250          self.assertAlmostEqual( float(M.z), 4.61043629206)          self.assertAlmostEqual( float(M.z), 4.61043629206)
251    
252    
253    class TestBinTokens(AscendSelfTester):
254    
255        def test1(self):
256            ascpy.getCompiler().setBinaryCompilation(True)
257            self.L.load('johnpye/testlog10.a4c')
258            T = self.L.findType('testlog10')
259            M = T.getSimulation('sim')
260            M.build()
261            M.solve(ascpy.Solver('QRSlv'),ascpy.SolverReporter())
262    
263  class TestLRSlv(AscendSelfTester):  class TestLRSlv(AscendSelfTester):
264      def testonerel(self):      def testonerel(self):
265          self._run('onerel',"LRSlv","test/lrslv/onerel.a4c")          self._run('onerel',"LRSlv","test/lrslv/onerel.a4c")

Legend:
Removed from v.2044  
changed lines
  Added in v.2045

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