Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit fe15437

Browse files
committed
Add Halley to 23 test problems
1 parent fb2f20d commit fe15437

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

test/core/23_test_problems_tests.jl

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ end
4141
export problems, dicts, test_on_library
4242
end
4343

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

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

53-
@testitem "SimpleTrustRegion" setup=[RobustnessTesting] tags=[:core] begin
53+
@testitem "23 Test Problems: SimpleHalley" setup=[RobustnessTesting] tags=[:core] begin
54+
alg_ops = (SimpleHalley(),)
55+
56+
broken_tests = Dict(alg => Int[] for alg in alg_ops)
57+
broken_tests[alg_ops[1]] = [1, 5, 15, 16, 18]
58+
59+
test_on_library(problems, dicts, alg_ops, broken_tests)
60+
end
61+
62+
@testitem "23 Test Problems: SimpleTrustRegion" setup=[RobustnessTesting] tags=[:core] begin
5463
alg_ops = (SimpleTrustRegion(), SimpleTrustRegion(; nlsolve_update_rule = Val(true)))
5564

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

63-
@testitem "SimpleDFSane" setup=[RobustnessTesting] tags=[:core] begin
72+
@testitem "23 Test Problems: SimpleDFSane" setup=[RobustnessTesting] tags=[:core] begin
6473
alg_ops = (SimpleDFSane(),)
6574

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

76-
@testitem "SimpleBroyden" retries=5 setup=[RobustnessTesting] tags=[:core] begin
85+
@testitem "23 Test Problems: SimpleBroyden" retries=5 setup=[RobustnessTesting] tags=[:core] begin
7786
alg_ops = (SimpleBroyden(),)
7887

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

85-
@testitem "SimpleKlement" setup=[RobustnessTesting] tags=[:core] begin
94+
@testitem "23 Test Problems: SimpleKlement" setup=[RobustnessTesting] tags=[:core] begin
8695
alg_ops = (SimpleKlement(),)
8796

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

0 commit comments

Comments
 (0)