Skip to content

Commit

Permalink
black format
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikejmnez committed May 26, 2023
1 parent 776ffc9 commit d7acc82
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions oceanspy/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ def test_circle_path_array(lats, lons, symmetry, resolution):
coords1 = [[[0, 0], [1, 1], [2, 2], [3, 3], [4, 4], [5, 5]]]
coords2 = [[[5, 0], [4, 1], [3, 2], [2, 3], [1, 4], [0, 5]]]
coords3 = [[[0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 11]]]
lons = []
coords4 = '[{"type":"Point","coordinates":[-169.23960833202577,22.865677261831266]}]'
coords5 = '[{"type":"Point","coordinates":[636.7225446274502, -56.11128546740994]}]'
coords6 = '[{"type":"Point","coordinates":[754.2277421326479, -57.34299561290217]}]'
coords7 = '[{"type":"Point","coordinates":[-424.42989807993234, 37.87263032287052]}]'


@pytest.mark.parametrize(
Expand All @@ -83,6 +87,9 @@ def test_circle_path_array(lats, lons, symmetry, resolution):
(coords2, "LineString", [[5, 0]], [[4, 1]]),
(coords3, "LineString", [[0, 6]], [[0, 7]]),
(coords4, "Point", [-169.23960833202577], [22.865677261831266]),
(coords5, "Point", [-83.27745537254975], [-56.11128546740994]),
(coords6, "Point", [34.227742132647904], [-57.34299561290217]),
(coords7, "Point", [-64.42989807993234], [37.87263032287052]),
],
)
def test_viewer_to_range(coords, types, lon, lat):
Expand Down

0 comments on commit d7acc82

Please sign in to comment.