From 2e67a047141e5e00c583a7405bdeca2fb6f34ee2 Mon Sep 17 00:00:00 2001 From: Vedant Puri Date: Thu, 13 Jan 2022 15:32:53 +0530 Subject: [PATCH] tests --- test/basictests.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/basictests.jl b/test/basictests.jl index 9741755a4..a9ced32fa 100644 --- a/test/basictests.jl +++ b/test/basictests.jl @@ -224,6 +224,9 @@ end P1 = Diagonal(s1) P2 = Diagonal(s2) + @test LinearSolve.ComposePreconditioner(P1,nothing) === P1 + @test LinearSolve.ComposePreconditioner(nothing,P1) === P1 + P = LinearSolve.ComposePreconditioner(P1,P2) # ComposePreconditioner