Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis committed Mar 1, 2024
1 parent cd4ce92 commit 3770fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cx.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def test_warp_tiles():
)
assert wimg[100, 100, :].tolist() == [247, 246, 241, 255]
assert wimg[100, 200, :].tolist() == [246, 246, 241, 255]
assert wimg[20, 120, :].tolist() == [139, 128, 148, 255]
assert wimg[20, 120, :].tolist() == [139, 128, 149, 255]


@pytest.mark.network
Expand All @@ -144,7 +144,7 @@ def test_warp_img_transform():
wimg, _ = cx.warp_img_transform(img, rtr.transform, rtr.crs, "epsg:4326")
assert wimg[:, 100, 100].tolist() == [247, 246, 241, 255]
assert wimg[:, 100, 200].tolist() == [246, 246, 241, 255]
assert wimg[:, 20, 120].tolist() == [139, 128, 148, 255]
assert wimg[:, 20, 120].tolist() == [139, 128, 149, 255]


def test_howmany():
Expand Down

0 comments on commit 3770fda

Please sign in to comment.