Skip to content

Commit

Permalink
Test for issue PainterQubits#557
Browse files Browse the repository at this point in the history
  • Loading branch information
sostock committed Sep 30, 2022
1 parent 9311d5e commit 6b94a85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1358,6 +1358,7 @@ end
end
@testset ">> Element-wise addition" begin
@test @inferred(5m .+ [1m, 2m, 3m]) == [6m, 7m, 8m]
@test Any[1.0m, 2.0m] .+ 3.0m == [4.0m, 5.0m] # issue 557 (actually a bug in Julia 1.8.1)
end
@testset ">> Element-wise comparison" begin
@test @inferred([0.0m, 2.0m] .< [3.0m, 2.0μm]) == BitArray([true,false])
Expand Down

0 comments on commit 6b94a85

Please sign in to comment.