Skip to content

Commit 086fb29

Browse files
authored
Update test_layoutarray.jl
1 parent 153ef5c commit 086fb29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_layoutarray.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ Base.copy(A::MyVector) = MyVector(copy(A.A))
4949
@test a[1:3] == a.A[1:3]
5050
@test a[:] == a
5151
@test (a')[1,:] == (a')[1,1:3] == a
52+
@test (a')[1:1, :] == (a')[1:1,1:3] == a'
53+
@test (a')[1:1, 2:3] == (a')[1:1,2:3] == a[2:3]'
5254
@test sprint(show, "text/plain", a) == "$(summary(a)):\n 1.0\n 2.0\n 3.0"
5355
@test B*a B*a.A
5456
@test B'*a B'*a.A

0 commit comments

Comments
 (0)