From c7d2b2d964a5fcfea5582d069b1f29c089606eb5 Mon Sep 17 00:00:00 2001 From: Katharine Hyatt Date: Thu, 7 Sep 2017 21:17:02 -0700 Subject: [PATCH] Last test for deque? (#280) --- test/deque.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/deque.jl b/test/deque.jl index de01b2d3..5e94b060 100644 --- a/test/deque.jl +++ b/test/deque.jl @@ -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