From 437fdc9eeda82c480b085597639ceed8d83bf452 Mon Sep 17 00:00:00 2001 From: Joseph H Kennedy Date: Mon, 25 Mar 2024 12:16:05 -0800 Subject: [PATCH] fix function name change missed in refactor --- tests/test_process.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/test_process.py b/tests/test_process.py index 1f93b7eb..d9040e33 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -419,15 +419,15 @@ def mock_apply_filter_function(scene, _): def test_point_to_prefix(): - assert process.point_to_prefix(63.0, 128.0) == 'N60E120' - 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' + assert process.point_to_region(63.0, 128.0) == 'N60E120' + assert process.point_to_region(-63.0, 128.0) == 'S60E120' + assert process.point_to_region(63.0, -128.0) == 'N60W120' + assert process.point_to_region(-63.0, -128.0) == 'S60W120' + assert process.point_to_region(0.0, 128.0) == 'N00E120' + assert process.point_to_region(0.0, -128.0) == 'N00W120' + assert process.point_to_region(63.0, 0.0) == 'N60E000' + assert process.point_to_region(-63.0, 0.0) == 'S60E000' + assert process.point_to_region(0.0, 0.0) == 'N00E000' def test_get_lat_lon_from_ncfile():