예제 #1
0
def test_TileServer_raster_get_center():
    """Should work as expected."""
    r = RasterTiles(raster_path)
    app = TileServer(r)
    assert app.raster == r
    assert app.get_center() == r.get_center()
예제 #2
0
def test_rastertiles_get_centers():
    """Should work as expected (create rastertiles object and get center)."""
    r = RasterTiles(raster_path)
    assert r.get_center() == [-61.56463623161228, 16.227860775481847]