Skip to content

Commit

Permalink
Tests for zeros
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Aug 22, 2024
1 parent b03cd7e commit 28edd12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2885,4 +2885,9 @@ end
F = Fill(4, typemax(Int), typemax(Int))
@test sqrt(F)^2 F
@test cbrt(F)^3 F

# zeros
F = Zeros(4, 4)
@test sqrt(F)^2 == F
@test cbrt(F)^3 == F
end

0 comments on commit 28edd12

Please sign in to comment.