@@ -399,7 +399,7 @@ arrayts = (Array, JLArray)
399
399
a_dest = a1 * a2
400
400
@allowscalar @test Array (a_dest) ≈ Array (a1) * Array (a2)
401
401
@test a_dest isa BlockSparseArray{elt}
402
- @test_broken blockstoredlength (a_dest) == 1
402
+ @test blockstoredlength (a_dest) == 1
403
403
end
404
404
@testset " Matrix multiplication" begin
405
405
a1 = dev (BlockSparseArray {elt} (undef, [2 , 3 ], [2 , 3 ]))
@@ -430,23 +430,23 @@ arrayts = (Array, JLArray)
430
430
a2[Block (1 , 2 )] = dev (randn (elt, size (@view (a2[Block (1 , 2 )]))))
431
431
432
432
a_dest = cat (a1, a2; dims= 1 )
433
- @test_broken blockstoredlength (a_dest) == 2
433
+ @test blockstoredlength (a_dest) == 2
434
434
@test blocklengths .(axes (a_dest)) == ([2 , 3 , 2 , 3 ], [2 , 3 ])
435
- @test_broken issetequal (eachblockstoredindex (a_dest), [Block (2 , 1 ), Block (3 , 2 )])
435
+ @test issetequal (eachblockstoredindex (a_dest), [Block (2 , 1 ), Block (3 , 2 )])
436
436
@test a_dest[Block (2 , 1 )] == a1[Block (2 , 1 )]
437
437
@test a_dest[Block (3 , 2 )] == a2[Block (1 , 2 )]
438
438
439
439
a_dest = cat (a1, a2; dims= 2 )
440
- @test_broken blockstoredlength (a_dest) == 2
440
+ @test blockstoredlength (a_dest) == 2
441
441
@test blocklengths .(axes (a_dest)) == ([2 , 3 ], [2 , 3 , 2 , 3 ])
442
- @test_broken issetequal (eachblockstoredindex (a_dest), [Block (2 , 1 ), Block (1 , 4 )])
442
+ @test issetequal (eachblockstoredindex (a_dest), [Block (2 , 1 ), Block (1 , 4 )])
443
443
@test a_dest[Block (2 , 1 )] == a1[Block (2 , 1 )]
444
444
@test a_dest[Block (1 , 4 )] == a2[Block (1 , 2 )]
445
445
446
446
a_dest = cat (a1, a2; dims= (1 , 2 ))
447
- @test_broken blockstoredlength (a_dest) == 2
447
+ @test blockstoredlength (a_dest) == 2
448
448
@test blocklengths .(axes (a_dest)) == ([2 , 3 , 2 , 3 ], [2 , 3 , 2 , 3 ])
449
- @test_broken issetequal (eachblockstoredindex (a_dest), [Block (2 , 1 ), Block (3 , 4 )])
449
+ @test issetequal (eachblockstoredindex (a_dest), [Block (2 , 1 ), Block (3 , 4 )])
450
450
@test a_dest[Block (2 , 1 )] == a1[Block (2 , 1 )]
451
451
@test a_dest[Block (3 , 4 )] == a2[Block (1 , 2 )]
452
452
end
0 commit comments