diff --git a/test/runtests.jl b/test/runtests.jl index 1e7b3b5d..fef65eba 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -171,6 +171,9 @@ end @test C == A .+ 2 D = BroadcastArray(+, A, C) @test D == A + C + + @test sum(B) ≈ sum(exp, A) + @test sum(C) ≈ sum(A .+ 2) x = Vcat([3,4], [1,1,1,1,1], 1:3) @test x .+ (1:10) isa Vcat