Skip to content

Commit

Permalink
check crs equality
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Oct 15, 2024
1 parent 81538fb commit 923e9d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def test_mars_tms():
extent_crs=MARS2000_SPHERE,
title="Web Mercator Mars",
)
assert mars_tms.geographic_crs
assert mars_tms.geographic_crs == MARS2000_SPHERE

pos = (35, 40, 3)
mars_tile = mars_tms.tile(*pos)
Expand Down Expand Up @@ -381,7 +381,7 @@ def test_mars_local_tms():
title="Web Mercator Mars",
)
assert SYRTIS_TM == syrtis_tms.crs._pyproj_crs
assert syrtis_tms.geographic_crs
assert syrtis_tms.geographic_crs == MARS2000_SPHERE
assert syrtis_tms.model_dump(mode="json")

center = syrtis_tms.ul(1, 1, 1)
Expand Down

0 comments on commit 923e9d3

Please sign in to comment.