def test_small_read_only_virtual_geo_raster_wgs84_crop():
    roi = GeoVector.from_bounds(xmin=0, ymin=0, xmax=2, ymax=2, crs=WGS84_CRS)
    resolution = 1.0
    raster = GeoRaster2.empty_from_roi(roi, resolution)
    assert (raster.crop(roi) == raster.crop(roi, raster.resolution()))
def test_small_read_only_virtual_geo_raster_wgs84_crop():
    roi = GeoVector.from_bounds(xmin=0, ymin=0, xmax=2, ymax=2, crs=WGS84_CRS)
    resolution = 1.0
    raster = GeoRaster2.empty_from_roi(roi, resolution)
    assert (raster.crop(roi) == raster.crop(roi, raster.resolution()))