From 98b2f4ed3080cd89bdba680f54a68c4d5ab1bbc5 Mon Sep 17 00:00:00 2001 From: Dawid SQ6EMM Date: Mon, 5 May 2025 10:26:38 +0200 Subject: [PATCH] Add tests Signed-off-by: Dawid SQ6EMM --- test/test_locator_latlong_to_locator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_locator_latlong_to_locator.py b/test/test_locator_latlong_to_locator.py index a9734ef..85b357a 100644 --- a/test/test_locator_latlong_to_locator.py +++ b/test/test_locator_latlong_to_locator.py @@ -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.83568, 68.52518, precision=10) == "MN45GU30AN" - assert latlong_to_locator(51.12492, 16.94183, 10) == "JO81LC39AX" + assert latlong_to_locator(45.835677, 68.525173, precision=10) == "MN45GU30AN" + assert latlong_to_locator(51.124913, 16.941840, 10) == "JO81LC39AX" def test_latlong_to_locator_invalid_characters(self):