Ejemplo n.º 1
0
    def test_02(self):

        # from http://wahiduddin.net/calc/calc_da.htm

        Value = SA.temp2dynamic_viscosity(59, temp_units='F')
        Truth = 1.7894e-5
        self.assertTrue(RE(Value, Truth) <= 1e-4)
Ejemplo n.º 2
0
    def test_02(self):

        # from http://wahiduddin.net/calc/calc_da.htm

        Value = SA.temp2dynamic_viscosity(59, temp_units="F")
        Truth = 1.7894e-5
        self.failUnless(RE(Value, Truth) <= 1e-4)
Ejemplo n.º 3
0
    def test_01(self):

        # from US Standard Atmosphere, 1976

        Value = SA.temp2dynamic_viscosity(15, temp_units='C')
        Truth = 1.7894e-5
        self.assertTrue(RE(Value, Truth) <= 1e-4)
Ejemplo n.º 4
0
    def test_01(self):

        # from US Standard Atmosphere, 1976

        Value = SA.temp2dynamic_viscosity(15, temp_units="C")
        Truth = 1.7894e-5
        self.failUnless(RE(Value, Truth) <= 1e-4)