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

Diff of /trunk/pygtk/test.py

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

revision 1072 by johnpye, Sat Jan 6 23:14:11 2007 UTC revision 1073 by johnpye, Tue Jan 9 01:44:59 2007 UTC
# Line 79  class TestSolver(AscendSelfTester): Line 79  class TestSolver(AscendSelfTester):
79      def testsunpos6(self):      def testsunpos6(self):
80          self._run('example_1_8_1',"QRSlv","johnpye/sunpos.a4c")          self._run('example_1_8_1',"QRSlv","johnpye/sunpos.a4c")
81    
82        def testinstanceas(self):
83            M = self._run('example_1_6_1',"QRSlv","johnpye/sunpos.a4c")
84            self.assertAlmostEqual( float(M.t_solar), M.t_solar.as("s"))
85            self.assertAlmostEqual( float(M.t_solar)/3600, M.t_solar.as("h"))
86    
87  class TestIntegrator(Ascend):  class TestIntegrator(Ascend):
88    
89      def testListIntegrators(self):      def testListIntegrators(self):

Legend:
Removed from v.1072  
changed lines
  Added in v.1073

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