Skip to content

Commit

Permalink
A little more test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed May 19, 2022
1 parent f4ca42d commit 3373db6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ using ImageCore
@test sum(x) float(a) + b
x = typeof(a)[]
@test sum(x) == float(zero(a))
x = [a]
@test sum(x) float(a)
end
end
for C in (MCC, CM)
Expand All @@ -151,6 +153,8 @@ using ImageCore
@test sum(x) == 2a
x = typeof(a)[]
@test sum(x) == float(zero(a))
x = [a]
@test sum(x) == float(a)
end

a = GreenMagenta(0.1, 0.2)
Expand Down

0 comments on commit 3373db6

Please sign in to comment.