Skip to content

Commit

Permalink
add 4 more test cases in the test_point_to_prefix function in test_pr…
Browse files Browse the repository at this point in the history
…ocess.py
  • Loading branch information
cirrusasf committed Mar 20, 2024
1 parent dbf5088 commit 9415247
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,10 @@ def test_point_to_prefix():
assert process.point_to_prefix(-63.0, 128.0) == 'S60E120'
assert process.point_to_prefix(63.0, -128.0) == 'N60W120'
assert process.point_to_prefix(-63.0, -128.0) == 'S60W120'
assert process.point_to_prefix(0.0, 128.0) == 'N00E120'
assert process.point_to_prefix(0.0, -128.0) == 'N00W120'
assert process.point_to_prefix(63.0, 0.0) == 'N60E000'
assert process.point_to_prefix(-63.0, 0.0) == 'S60E000'
assert process.point_to_prefix(0.0, 0.0) == 'N00E000'


Expand Down

0 comments on commit 9415247

Please sign in to comment.