Skip to content

Commit 65022e7

Browse files
committed
add proper tests
1 parent 32aa9b4 commit 65022e7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/runtests.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,10 @@ end
166166
P = LinearSolve.ComposePreconditioner(P1,P2)
167167
Pi = LinearSolve.InvComposePreconditioner(P)
168168

169-
@test Pi == LinearSolve.InvComposePreconditioner(P1,P2)
170-
@test Pi == inv(P)
171-
@test P == inv(Pi)
169+
@test Pi == LinearSolve.InvComposePreconditioner(P1,P2)
170+
@test Pi == inv(P)
171+
@test P == inv(Pi)
172+
@test Pi' == inv(P')
172173

173174
# ComposePreconditioner
174175
ldiv!(P, x)

0 commit comments

Comments
 (0)