Skip to content

Commit

Permalink
more testing
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Apr 20, 2024
1 parent 115e480 commit ee24e8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_setindex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ end
xs = Vector{Vector{Float64}}(undef, 2)
setindex!!(xs, [1.0], 1)
@test xs[1] == [1.0]

xs = Vector(undef, 2)
setindex!!(xs, 1.0, 1)
@test xs[1] == 1.0
end
end

Expand Down

0 comments on commit ee24e8e

Please sign in to comment.