Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Dec 1, 2024
1 parent 4593744 commit 47f250f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/methods.jl
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ end
@testset "geometry encompassing raster" begin
geom = GeoInterface.Polygon([GeoInterface.LinearRing([(0.0, 0.0), (0.0, 10.0), (10.0, 10.0), (10.0, 0.0), (0.0, 0.0)])])
raster = Raster(ones(X(1:0.1:2), Y(1:0.1:2)), missingval=false)
@test
sum(mask(raster; with=geom)) == sum(raster)
@test sum(mask(raster; with=geom)) == sum(raster)
end
end

Expand Down

0 comments on commit 47f250f

Please sign in to comment.