示例#1
0
def test2_geopotential2geometric():

    h = 20000.0

    z = geopotential2geometric(h)
    expected_z = 20062.982207526373

    assert_almost_equal(z, expected_z)
示例#2
0
def test1_geopotential2geometric():

    h = 11000.0

    z = geopotential2geometric(h)
    expected_z = 11019.025157232705

    assert_almost_equal(z, expected_z)