Skip to content

Commit

Permalink
Test for float() of non-Number types
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt committed Apr 7, 2016
1 parent bc8d57b commit d65e8bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/floatfuncs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ for elty in (Float32,Float64)
@test round(elty2,A) == fill(round(elty2,x),(10,10,10))
end
end

@test float(Char) == Any

0 comments on commit d65e8bc

Please sign in to comment.