Skip to content

Commit b88fb74

Browse files
committed
more test coverage
1 parent ffebce9 commit b88fb74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ end
209209
(1:4, 1:3),
210210
(CartesianIndex(1, 1):CartesianIndex(4, 3), ),
211211
(CartesianIndex(1):CartesianIndex(4), CartesianIndex(1):CartesianIndex(3)),
212+
(CartesianIndex(1):CartesianIndex(4), 1:3),
212213
(IdentityUnitRange(1:4), IdentityUnitRange(1:3))
213214
]
214215
# test API
@@ -237,6 +238,7 @@ end
237238
(CartesianIndex(-1, 0):CartesianIndex(2, 2), ),
238239
(-1:2, CartesianIndex(0):CartesianIndex(2)),
239240
(CartesianIndex(-1):CartesianIndex(2), CartesianIndex(0):CartesianIndex(2)),
241+
(CartesianIndex(-1):CartesianIndex(2), 0:2),
240242
(IdentityUnitRange(-1:2), 0:2)
241243
]
242244
# test offsets

0 commit comments

Comments
 (0)