We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30c04c8 commit bbb54f7Copy full SHA for bbb54f7
test/test_blockindices.jl
@@ -91,6 +91,7 @@ import BlockArrays: BlockIndex, BlockIndexRange, BlockSlice
91
@test Block(1,1)[1:2,1:2] == BlockIndexRange(Block(1,1),(1:2,1:2))
92
@test Block(1)[1:3][1:2] == BlockIndexRange(Block(1),1:2)
93
@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()
95
@test BlockIndex((2,2,2),(2,)) == BlockIndex((2,2,2),(2,1,)) == BlockIndex((2,2,2),(2,1,1))
96
@test BlockIndex(2,(2,)) === BlockIndex((2,),(2,))
97
@test BlockIndex(UInt(2),(2,)) === BlockIndex((UInt(2),),(2,))
0 commit comments