Skip to content

Commit

Permalink
Increase test coverage (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
joschmitt committed Mar 15, 2024
1 parent f2207d4 commit 829757c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ end

function Base.show(io::IO, ::MIME"text/plain", C::SolveCtx)
io = PrettyPrinting.pretty(io)
println(io, "Linear solving context object of matrix")
println(io, "Linear solving context of matrix")
print(io, PrettyPrinting.Indent())
show(io, MIME"text/plain"(), matrix(C))
print(io, PrettyPrinting.Dedent())
Expand All @@ -107,7 +107,7 @@ end
function Base.show(io::IO, C::SolveCtx)
PrettyPrinting.@show_name(io, C)

print(io, "Linear solving context object")
print(io, "Linear solving context")
end

@doc raw"""
Expand Down
4 changes: 2 additions & 2 deletions test/Solve-test.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@testset "Linear solving" begin
for R in [ QQ, ZZ ]
for R in [ QQ, ZZ, GF(101) ]
M = matrix(R, [1 2 3 4 5; 0 0 8 9 10; 0 0 0 14 15])

@test_throws ErrorException AbstractAlgebra.Solve.solve(M, [ R(1) ])
Expand Down Expand Up @@ -81,7 +81,7 @@
end

@testset "Linear solving context" begin
for R in [ QQ, ZZ ]
for R in [ QQ, ZZ, GF(101) ]
M = matrix(R, [1 2 3 4 5; 0 0 8 9 10; 0 0 0 14 15])
C = AbstractAlgebra.Solve.solve_init(M)

Expand Down

0 comments on commit 829757c

Please sign in to comment.