From 659c0cad61567eb8f1da4d2319382f54600d0744 Mon Sep 17 00:00:00 2001 From: MARCHAND MANON Date: Fri, 8 Nov 2024 18:12:19 +0100 Subject: [PATCH] fix: upper right corner is not expected in the MOC --- python/mocpy/tests/test_moc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mocpy/tests/test_moc.py b/python/mocpy/tests/test_moc.py index 0d9f3ad..c940ae2 100644 --- a/python/mocpy/tests/test_moc.py +++ b/python/mocpy/tests/test_moc.py @@ -600,7 +600,7 @@ def test_from_ring(): def test_from_zone(): moc = MOC.from_zone(SkyCoord([[-50, -50], [50, 50]], unit="deg"), max_depth=5) # test the diagonal - for coordinate in range(-50, 60, 10): + for coordinate in range(-50, 40, 10): ## (50,50) not included assert moc.contains_skycoords(SkyCoord(coordinate, coordinate, unit="deg")) # regression for #180 MOC.from_zone(SkyCoord([(180, 30), (360, 50)], unit="deg"), max_depth=3)