Skip to content

Commit

Permalink
Last test for deque? (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt authored and andyferris committed Sep 8, 2017
1 parent a966e44 commit c7d2b2d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/deque.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@
@test_throws BoundsError deleteat(v, -2)
@test_throws BoundsError setindex(v, 2, -2)
end

@testset "setindex" begin
a = @MArray ones(3, 3, 3)
a[2, 1, 3] = 2.
@test a[2, 1, 3] == 2.
end

0 comments on commit c7d2b2d

Please sign in to comment.