コード例 #1
0
ファイル: test_helpers.py プロジェクト: mapbox/mapbox-cli-py
def test_coords_from_query_ws():
    assert coords_from_query("-100 40") == (-100, 40)
コード例 #2
0
ファイル: test_helpers.py プロジェクト: mapbox/mapbox-cli-py
def test_coords_from_query_csv_ws():
    assert coords_from_query("-100, \n    \t 40") == (-100, 40)
コード例 #3
0
ファイル: test_helpers.py プロジェクト: mapbox/mapbox-cli-py
def test_coords_from_query_json():
    assert coords_from_query("[-100, 40]") == (-100, 40)
コード例 #4
0
def test_coords_from_query_ws():
    assert coords_from_query("-100 40") == (-100, 40)
コード例 #5
0
def test_coords_from_query_csv_ws():
    assert coords_from_query("-100, \n    \t 40") == (-100, 40)
コード例 #6
0
def test_coords_from_query_json():
    assert coords_from_query("[-100, 40]") == (-100, 40)