def test_02(self): Value = cl.cl2cas( 2.6721923079, 4500, 700, 8.5, weight_units='kg', area_units='m**2', speed_units='km/h', alt_units='m', ) Truth = 80 self.assertTrue(RE(Value, Truth) <= 1e-5)
def test_02(self): Value = cl.cl2cas( 2.6721923079, 4500, 700, 8.5, weight_units='kg', area_units='m**2', speed_units='km/h', alt_units='m', ) Truth = 80 self.failUnless(RE(Value, Truth) <= 1e-5)
def test_01(self): Value = cl.cl2cas( 0.15149332672, 20000, 2000, 100, weight_units='lb', area_units='ft**2', speed_units='kt', alt_units='ft', ) Truth = 200 self.assertTrue(RE(Value, Truth) <= 1e-5)
def test_01(self): Value = cl.cl2cas( 0.15149332672, 20000, 2000, 100, weight_units='lb', area_units='ft**2', speed_units='kt', alt_units='ft', ) Truth = 200 self.failUnless(RE(Value, Truth) <= 1e-5)