File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 solution2 = solve (problem, algorithm2)
6666 @test solution2 ≈ sqrt (a)
6767 @test abs (solution2 - sqrt (a)) < abs (solution1 - sqrt (a))
68+ state3 = initialize_state (problem, algorithm2)
69+ solve! (problem, algorithm2, state3)
70+ @test state3. iterate == solution2
6871end
Original file line number Diff line number Diff line change @@ -4,19 +4,21 @@ using SafeTestsets
44using AlgorithmsInterface
55using Dates
66
7- @safetestset " Newton" begin
8- include (" newton.jl" )
9- end
7+ @safetestset " AlgorithmsInterface.jl" begin
8+ @safetestset " Newton" begin
9+ include (" newton.jl" )
10+ end
1011
11- @safetestset " Stopping Criteria" begin
12- include (" stopping_criterion.jl" )
13- end
12+ @safetestset " Stopping Criteria" begin
13+ include (" stopping_criterion.jl" )
14+ end
1415
15- @safetestset " Logging Infrastructure" begin
16- include (" logging.jl" )
17- end
16+ @safetestset " Logging Infrastructure" begin
17+ include (" logging.jl" )
18+ end
1819
19- @safetestset " Aqua" begin
20- using AlgorithmsInterface, Aqua
21- Aqua. test_all (AlgorithmsInterface)
22- end
20+ @safetestset " Aqua" begin
21+ using AlgorithmsInterface, Aqua
22+ Aqua. test_all (AlgorithmsInterface)
23+ end
24+ end
You can’t perform that action at this time.
0 commit comments