Skip to content

Commit

Permalink
Merge pull request #18722 from JuliaLang/ksh/absarraytest
Browse files Browse the repository at this point in the history
Few missing tests for abstractarray
  • Loading branch information
vchuravy authored Sep 29, 2016
2 parents 00375b2 + 493f4e2 commit 54f3c90
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/abstractarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -765,3 +765,13 @@ let A17811 = Integer[]
@test I == Any[1]
@test isa(map(abs, A17811), Array{Any,1})
end

#copymutable for itrs
@test Base.copymutable((1,2,3)) == [1,2,3]

#sub2ind for empty tuple
@test sub2ind(()) == 1

#to_shape
@test Base.to_shape(()) === ()
@test Base.to_shape(1) === 1

2 comments on commit 54f3c90

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily benchmark build, I will reply here when finished:

@nanosoldier runbenchmarks(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @jrevels

Please sign in to comment.