def test_02(self): Value = cl.cl2lift( 0.11254822, 350, 10, lift_units='kg', area_units='m**2', speed_units='ft/s', ) Truth = 800 self.assertTrue(RE(Value, Truth) <= 1e-5)
def test_02(self): Value = cl.cl2lift( 0.11254822, 350, 10, lift_units='kg', area_units='m**2', speed_units='ft/s', ) Truth = 800 self.failUnless(RE(Value, Truth) <= 1e-5)
def test_01(self): Value = cl.cl2lift( 0.41956654, 80, 110, lift_units='lb', area_units='ft**2', speed_units='kt', ) Truth = 1000 self.assertTrue(RE(Value, Truth) <= 1e-5)
def test_01(self): Value = cl.cl2lift( 0.41956654, 80, 110, lift_units='lb', area_units='ft**2', speed_units='kt', ) Truth = 1000 self.failUnless(RE(Value, Truth) <= 1e-5)