Skip to content

Commit

Permalink
Improve testsets for solvers
Browse files Browse the repository at this point in the history
  • Loading branch information
nHackel committed May 28, 2024
1 parent a9cff87 commit 4866734
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions test/testSolvers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -202,21 +202,23 @@ end

@testset "Test Solvers" begin
for arrayType in arrayTypes
@testset "$arrayType" begin
for elType in [Float32, Float64]
@testset "Real Linear Solver: $arrayType{$elType}" begin
testRealLinearSolver(; arrayType, elType)
end
@testset "Real Linear Solver: $elType" begin
testRealLinearSolver(; arrayType, elType)
end

@testset "Complex Linear Solver: $arrayType{$elType}" begin
testComplexLinearSolver(; arrayType, elType)
end
@testset "Complex Linear Solver: $elType" begin
testComplexLinearSolver(; arrayType, elType)
end

@testset "Complex Linear Solver w/ AHA Interface: $arrayType{$elType}" begin
testComplexLinearAHASolver(; arrayType, elType)
end
@testset "Complex Linear Solver w/ AHA Interface: $elType" begin
testComplexLinearAHASolver(; arrayType, elType)
end

@testset "General Convex Solver: $arrayType{$elType}" begin
testConvexLinearSolver(; arrayType, elType)
@testset "General Convex Solver: $elType" begin
testConvexLinearSolver(; arrayType, elType)
end
end
end
end
Expand Down

0 comments on commit 4866734

Please sign in to comment.