Skip to content

Commit bbb54f7

Browse files
committed
Improve coverage
1 parent 30c04c8 commit bbb54f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_blockindices.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ import BlockArrays: BlockIndex, BlockIndexRange, BlockSlice
9191
@test Block(1,1)[1:2,1:2] == BlockIndexRange(Block(1,1),(1:2,1:2))
9292
@test Block(1)[1:3][1:2] == BlockIndexRange(Block(1),1:2)
9393
@test Block(1,1)[2:4,2:4][2:3,2:3] == BlockIndexRange(Block(1,1),(3:4,3:4))
94+
@test BlockIndexRange(Block(),())[] == BlockIndex()
9495
@test BlockIndex((2,2,2),(2,)) == BlockIndex((2,2,2),(2,1,)) == BlockIndex((2,2,2),(2,1,1))
9596
@test BlockIndex(2,(2,)) === BlockIndex((2,),(2,))
9697
@test BlockIndex(UInt(2),(2,)) === BlockIndex((UInt(2),),(2,))

0 commit comments

Comments
 (0)