mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2026-04-21 06:13:57 +00:00
parent
d944d9b045
commit
a0d7903f35
4 changed files with 13 additions and 31 deletions
|
|
@ -24,8 +24,8 @@ class Test_latlong_to_locator():
|
|||
assert latlong_to_locator(39.222916, -86.45416, 8) == "EM69SF53"
|
||||
|
||||
def test_latlong_to_locator_10chars_precision(self):
|
||||
assert latlong_to_locator(45.835677, 68.525173, precision=10) == "MN45GU30AN"
|
||||
assert latlong_to_locator(51.124913, 16.941840, 10) == "JO81LC39AX"
|
||||
assert latlong_to_locator(45.83568, 68.52518, precision=10) == "MN45GU30AN"
|
||||
assert latlong_to_locator(51.12492, 16.94183, 10) == "JO81LC39AX"
|
||||
|
||||
def test_latlong_to_locator_invalid_characters(self):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue