コード例 #1
0
 def test_03(self):
     Value = SA.temp2isa(233.15, 10000, temp_units='K', alt_units='m')
     Truth = 10
     self.assertTrue(RE(Value, Truth) <= 1e-5)
コード例 #2
0
 def test_02(self):
     Value = SA.temp2isa(0, 10000, temp_units='F')
     Truth = -23.3384
     self.assertTrue(RE(Value, Truth) <= 1e-5)
コード例 #3
0
 def test_01(self):
     Value = SA.temp2isa(25, 0)
     Truth = 10
     self.assertTrue(RE(Value, Truth) <= 1e-5)
コード例 #4
0
 def test_03(self):
     Value = SA.temp2isa(233.15, 10000, temp_units='K', alt_units='m'
                         )
     Truth = 10
     self.failUnless(RE(Value, Truth) <= 1e-5)
コード例 #5
0
 def test_02(self):
     Value = SA.temp2isa(0, 10000, temp_units='F')
     Truth = -23.3384
     self.failUnless(RE(Value, Truth) <= 1e-5)
コード例 #6
0
 def test_01(self):
     Value = SA.temp2isa(25, 0)
     Truth = 10
     self.failUnless(RE(Value, Truth) <= 1e-5)