Skip to content

Commit

Permalink
round coordinates for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Sep 26, 2024
1 parent fe2c2fa commit 1829fe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_morecantile.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,8 @@ def test_tiles_when_tms_bounds_and_provided_bounds_cross_antimeridian(
# that we check to see if lons contain antimeridian, we build tiles that
# actually overlap the provided bounds to tiles.
assert tms.bbox == tms_bbox
for a, b in zip(tms.bbox, tms_bbox):
assert round(a - b, 6) == 0
assert len(list(tms.tiles(*bounds, zooms=11))) == expected


Expand Down

0 comments on commit 1829fe1

Please sign in to comment.