def test_rastertiles_get_bounds(): """Should work as expected (create rastertiles object and get bounds).""" r = RasterTiles(raster_path) assert r.get_bounds() == [ -61.56738281249997, 16.225223624120076, -61.5618896507246, 16.23049792684362, ]
def test_TileServer_raster_get_bounds(): """Should work as expected.""" r = RasterTiles(raster_path) app = TileServer(r) assert app.raster == r assert app.get_bounds() == r.get_bounds()