Skip to content

Commit

Permalink
Update interface.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 12, 2023
1 parent cc35610 commit 3636457
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,8 @@ end
MA.operate!!(MA.add_mul, x, big(3), BitArray([true false; true true]))
@test x == BigInt[5 2; 5 5]
end

@testset "similar_array_type" begin
MA.similar_array_type(BitArray{2}, Int) == Array{2,Int}
MA.similar_array_type(BitArray{2}, Bool) == BitArray{2}
end

0 comments on commit 3636457

Please sign in to comment.