Skip to content

Commit

Permalink
improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarrasch committed Oct 8, 2020
1 parent 3ac2c54 commit 12b7711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fillmap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using LinearMaps, LinearAlgebra, Test
for λ in (true, false, 3, μ, μ + 2im)
L = LinearMap(λ, (M, N))
@test L == LinearMap(λ, M, N)
@test occursin("$M×$N LinearMaps.FillMap{$(typeof(λ))}", sprint((t, s) -> show(t, "text/plain", s), L))
@test occursin("$M×$N LinearMaps.FillMap{$(typeof(λ))} with fill value: ", sprint((t, s) -> show(t, "text/plain", s), L))
@test LinearMaps.MulStyle(L) === LinearMaps.FiveArg()
A = fill(λ, (M, N))
x = rand(typeof(λ) <: Real ? Float64 : ComplexF64, 3)
Expand Down

0 comments on commit 12b7711

Please sign in to comment.