コード例 #1
0
ファイル: test_calcs.py プロジェクト: markwbrown/RefET
def test_air_pressure_refet(elev=s_args['elev'], pair=s_args['pair']):
    assert float(calcs._air_pressure(elev,
                                     method='refet')) == pytest.approx(pair)
コード例 #2
0
ファイル: test_calcs.py プロジェクト: markwbrown/RefET
def test_air_pressure_default(elev=s_args['elev'], pair=s_args['pair_asce']):
    assert float(calcs._air_pressure(elev)) == pytest.approx(pair)
コード例 #3
0
ファイル: test_calcs.py プロジェクト: markwbrown/RefET
def test_air_pressure_asce(elev=s_args['elev'], pair=s_args['pair_asce']):
    assert float(calcs._air_pressure(elev,
                                     method='asce')) == pytest.approx(pair)