Example #1
0
    def test_02(self):

        Value = cl.cas2cl(
            80,
            4500,
            700,
            8.5,
            weight_units='kg',
            area_units='m**2',
            speed_units='km/h',
            alt_units='m',
            )
        Truth = 2.6721923079
        self.assertTrue(RE(Value, Truth) <= 1e-5)
Example #2
0
    def test_02(self):

        Value = cl.cas2cl(
            80,
            4500,
            700,
            8.5,
            weight_units='kg',
            area_units='m**2',
            speed_units='km/h',
            alt_units='m',
            )
        Truth = 2.6721923079
        self.failUnless(RE(Value, Truth) <= 1e-5)
Example #3
0
    def test_01(self):

        Value = cl.cas2cl(
            200,
            20000,
            2000,
            100,
            weight_units='lb',
            area_units='ft**2',
            speed_units='kt',
            alt_units='ft',
            )
        Truth = 0.15149332672
        self.assertTrue(RE(Value, Truth) <= 1e-5)
Example #4
0
    def test_01(self):

        Value = cl.cas2cl(
            200,
            20000,
            2000,
            100,
            weight_units='lb',
            area_units='ft**2',
            speed_units='kt',
            alt_units='ft',
            )
        Truth = 0.15149332672
        self.failUnless(RE(Value, Truth) <= 1e-5)