From 85f8fd69eb50a94612afed2353e915600aa3b139 Mon Sep 17 00:00:00 2001 From: Vedant Puri Date: Wed, 6 Apr 2022 17:42:08 -0400 Subject: [PATCH] rm'd copy of solve-function testset --- test/basictests.jl | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/test/basictests.jl b/test/basictests.jl index 1c821d39a..2589658a1 100644 --- a/test/basictests.jl +++ b/test/basictests.jl @@ -318,35 +318,4 @@ end end end -@testset "Solve Function" begin - - A1 = rand(n) |> Diagonal; b1 = rand(n); x1 = zero(b1) - A2 = rand(n) |> Diagonal; b2 = rand(n); x2 = zero(b1) - - function sol_func(A,b,u,p,newA,Pl,Pr,solverdata;verbose=true, kwargs...) - if verbose == true - println("out-of-place solve") - end - u = A \ b - end - - function sol_func!(A,b,u,p,newA,Pl,Pr,solverdata;verbose=true, kwargs...) - if verbose == true - println("in-place solve") - end - ldiv!(u,A,b) - end - - prob1 = LinearProblem(A1, b1; u0=x1) - prob2 = LinearProblem(A1, b1; u0=x1) - - for alg in ( - LinearSolveFunction(), - LinearSolveFunction(sol_func), - LinearSolveFunction(sol_func!), - ) - test_interface(alg, prob1, prob2) - end -end - end # testset