Exemplo n.º 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)
Exemplo n.º 2
0
 def test_02(self):
     Value = SA.temp2isa(0, 10000, temp_units='F')
     Truth = -23.3384
     self.assertTrue(RE(Value, Truth) <= 1e-5)
Exemplo n.º 3
0
 def test_01(self):
     Value = SA.temp2isa(25, 0)
     Truth = 10
     self.assertTrue(RE(Value, Truth) <= 1e-5)
 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)
 def test_02(self):
     Value = SA.temp2isa(0, 10000, temp_units='F')
     Truth = -23.3384
     self.failUnless(RE(Value, Truth) <= 1e-5)
 def test_01(self):
     Value = SA.temp2isa(25, 0)
     Truth = 10
     self.failUnless(RE(Value, Truth) <= 1e-5)