Skip to content

Commit 00c8a39

Browse files
committed
Add broadcast pyr .- dd error case
1 parent 9374288 commit 00c8a39

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/broadcast.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
for l in p1.levels
1616
@test sum(l) == prod(size(l))
1717
end
18+
19+
@test_throws ArgumentError pyramid .- pyramid.base
20+
@test_throws ArgumentError pyramid .- pyramid.base.data
21+
1822
#tname = tempname() * ".tif"
1923
#r = Raster(dd)
2024
#write(tname, r, driver="cog", force=true)

0 commit comments

Comments
 (0)