Skip to content

Commit

Permalink
Another test
Browse files Browse the repository at this point in the history
  • Loading branch information
joschmitt committed Jul 16, 2024
1 parent e1c7b9b commit 13f9e30
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/Solve-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,13 @@ end
C = solve_init(M)
@test_throws ErrorException solve(AbstractAlgebra.Solve.RREFTrait(), C, [R(1), R(2), R(3), R(4), R(5)])
@test_throws ErrorException solve(AbstractAlgebra.Solve.RREFTrait(), C, matrix(R, 1, 5, [1, 2, 3, 4, 5]))

# This should work
K = kernel(AbstractAlgebra.Solve.RREFTrait(), C)
@test nrows(K) == 0

# This should not
@test_throws ErrorException kernel(AbstractAlgebra.Solve.HermiteFormTrait(), C)
end

@testset "Lazy transpose" begin
Expand Down

0 comments on commit 13f9e30

Please sign in to comment.