Skip to content

Commit

Permalink
Fix rasterize test
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Sep 19, 2024
1 parent a741f3c commit a6a77d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rasterize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -522,5 +522,5 @@ end
DataFrames.metadata!(fancy_table, "GEOINTERFACE:geometrycolumns", (:geom,); style = :note)
# Test that we don't have to provide the geometry column explicitly
@test_nowarn rasterize(last, fancy_table; to = A1, fill = 1)
@test rasterize(last, pointtable; to = A1, fill = 1) == rasterize(last, fancy_table; to = A1, fill = 1) # sanity check
@test replace_missing(rasterize(last, pointtable; to = A1, fill = 1), 0) == replace_missing(rasterize(last, fancy_table; to = A1, fill = 1), 0) # sanity check
end

0 comments on commit a6a77d7

Please sign in to comment.