Skip to content

Commit

Permalink
Add Halley to 23 test problems
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed May 26, 2024
1 parent fb2f20d commit fe15437
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions test/core/23_test_problems_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ end
export problems, dicts, test_on_library
end

@testitem "SimpleNewtonRaphson" setup=[RobustnessTesting] tags=[:core] begin
@testitem "23 Test Problems: SimpleNewtonRaphson" setup=[RobustnessTesting] tags=[:core] begin
alg_ops = (SimpleNewtonRaphson(),)

broken_tests = Dict(alg => Int[] for alg in alg_ops)
Expand All @@ -50,7 +50,16 @@ end
test_on_library(problems, dicts, alg_ops, broken_tests)
end

@testitem "SimpleTrustRegion" setup=[RobustnessTesting] tags=[:core] begin
@testitem "23 Test Problems: SimpleHalley" setup=[RobustnessTesting] tags=[:core] begin
alg_ops = (SimpleHalley(),)

broken_tests = Dict(alg => Int[] for alg in alg_ops)
broken_tests[alg_ops[1]] = [1, 5, 15, 16, 18]

test_on_library(problems, dicts, alg_ops, broken_tests)
end

@testitem "23 Test Problems: SimpleTrustRegion" setup=[RobustnessTesting] tags=[:core] begin
alg_ops = (SimpleTrustRegion(), SimpleTrustRegion(; nlsolve_update_rule = Val(true)))

broken_tests = Dict(alg => Int[] for alg in alg_ops)
Expand All @@ -60,7 +69,7 @@ end
test_on_library(problems, dicts, alg_ops, broken_tests)
end

@testitem "SimpleDFSane" setup=[RobustnessTesting] tags=[:core] begin
@testitem "23 Test Problems: SimpleDFSane" setup=[RobustnessTesting] tags=[:core] begin
alg_ops = (SimpleDFSane(),)

broken_tests = Dict(alg => Int[] for alg in alg_ops)
Expand All @@ -73,7 +82,7 @@ end
test_on_library(problems, dicts, alg_ops, broken_tests)
end

@testitem "SimpleBroyden" retries=5 setup=[RobustnessTesting] tags=[:core] begin
@testitem "23 Test Problems: SimpleBroyden" retries=5 setup=[RobustnessTesting] tags=[:core] begin
alg_ops = (SimpleBroyden(),)

broken_tests = Dict(alg => Int[] for alg in alg_ops)
Expand All @@ -82,7 +91,7 @@ end
test_on_library(problems, dicts, alg_ops, broken_tests)
end

@testitem "SimpleKlement" setup=[RobustnessTesting] tags=[:core] begin
@testitem "23 Test Problems: SimpleKlement" setup=[RobustnessTesting] tags=[:core] begin
alg_ops = (SimpleKlement(),)

broken_tests = Dict(alg => Int[] for alg in alg_ops)
Expand Down

0 comments on commit fe15437

Please sign in to comment.