Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Dec 2, 2023
1 parent b258c8d commit ce9f8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/methods.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ end
@test all(missingmask(ga) .=== [missing true; true missing])
@test all(missingmask(ga99) .=== [missing true; true missing])
@test all(missingmask(gaNaN) .=== [missing true; true missing])
@test dims(missingmask(ga)) == (X(NoLookup(Base.OneTo(2))), Y(NoLookup(Base.OneTo(2))))
@test dims(missingmask(ga)) == dims(ga)
@test missingmask(polygon; res=1.0) == fill!(Raster{Union{Missing,Bool}}(undef, X(Projected(-20:1.0:-1.0; crs=nothing)), Y(Projected(10.0:1.0:29.0; crs=nothing))), true)
x = missingmask([polygon, polygon]; collapse=false, res=1.0)
@test eltype(x) == Union{Bool,Missing}
Expand Down

0 comments on commit ce9f8b9

Please sign in to comment.