|  | 
| 7 | 7 | @testitem "Interval Nonlinear Problems" setup=[RootfindingTestSnippet] tags=[:core] begin | 
| 8 | 8 |     using ForwardDiff | 
| 9 | 9 | 
 | 
| 10 |  | -    @testset for alg in (Bisection(), Falsi(), Ridder(), Brent(), ITP(), Alefeld(), nothing) | 
|  | 10 | +    @testset for alg in (Alefeld(), Bisection(), Brent(), Falsi(), ITP(), Muller(), Ridder(), nothing) | 
| 11 | 11 |         tspan = (1.0, 20.0) | 
| 12 | 12 | 
 | 
| 13 | 13 |         function g(p) | 
|  | 
| 52 | 52 |     prob = IntervalNonlinearProblem(quadratic_f, (1.0, 20.0), 2.0) | 
| 53 | 53 |     ϵ = eps(Float64) # least possible tol for all methods | 
| 54 | 54 | 
 | 
| 55 |  | -    @testset for alg in (Bisection(), Falsi(), ITP(), nothing) | 
|  | 55 | +    @testset for alg in (Bisection(), Falsi(), ITP(), Muller(), nothing) | 
| 56 | 56 |         @testset for abstol in [0.1, 0.01, 0.001, 0.0001, 1e-5, 1e-6] | 
| 57 | 57 |             sol = solve(prob, alg; abstol) | 
| 58 | 58 |             result_tol = abs(sol.u - sqrt(2)) | 
|  | 
| 62 | 62 |         end | 
| 63 | 63 |     end | 
| 64 | 64 | 
 | 
| 65 |  | -    @testset for alg in (Ridder(), Brent()) | 
|  | 65 | +    @testset for alg in (Brent(), Ridder()) | 
| 66 | 66 |         # Ridder and Brent converge rapidly so as we lower tolerance below 0.01, it | 
| 67 | 67 |         # converges with max precision to the solution | 
| 68 | 68 |         @testset for abstol in [0.1] | 
|  | 
| 76 | 76 | end | 
| 77 | 77 | 
 | 
| 78 | 78 | @testitem "Flipped Signs and Reversed Tspan" setup=[RootfindingTestSnippet] tags=[:core] begin | 
| 79 |  | -    @testset for alg in (Alefeld(), Bisection(), Falsi(), Brent(), ITP(), Ridder(), nothing) | 
|  | 79 | +    @testset for alg in (Alefeld(), Bisection(), Brent(), Falsi(), ITP(), Muller(), Ridder(), nothing) | 
| 80 | 80 |         f1(u, p) = u * u - p | 
| 81 | 81 |         f2(u, p) = p - u * u | 
| 82 | 82 | 
 | 
|  | 
0 commit comments