Skip to content

Commit

Permalink
increase codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty committed Nov 29, 2024
1 parent af5528c commit e27d89b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1255,10 +1255,12 @@ include("test_block.jl")
end
end

@testset "Vector * ∞-FillMatrix" begin
@testset "Vector * ∞ matrix" begin
a = [1+im,2+im]
A = a * Ones{Complex{Int}}(1,∞)
@test A[:,1:5] == a * ones(1,5)

a*permutedims(1:∞)
end

include("test_infbanded.jl")
5 changes: 5 additions & 0 deletions test/test_infbanded.jl
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,9 @@ using LazyArrays: simplifiable
B = PaddedArray(randn(3,3),ℵ₀,ℵ₀)
@test (A*B)[1:10,1:10] A[1:10,1:10] * B[1:10,1:10]
end

@testset "SubArray broadcasting" begin
A = BandedMatrix(2 => 1:∞)
@test exp.(A[1:2:∞,1:2:∞])[1:10,1:10] exp.(A[1:2:20,1:2:20])
end
end

0 comments on commit e27d89b

Please sign in to comment.