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