Skip to content

Commit 1829fe1

Browse files
committed
round coordinates for tests
1 parent fe2c2fa commit 1829fe1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_morecantile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,8 @@ def test_tiles_when_tms_bounds_and_provided_bounds_cross_antimeridian(
428428
# that we check to see if lons contain antimeridian, we build tiles that
429429
# actually overlap the provided bounds to tiles.
430430
assert tms.bbox == tms_bbox
431+
for a, b in zip(tms.bbox, tms_bbox):
432+
assert round(a - b, 6) == 0
431433
assert len(list(tms.tiles(*bounds, zooms=11))) == expected
432434

433435

0 commit comments

Comments
 (0)