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

Commit e4b2b4f

Browse files
committed
test for itp
1 parent 0441067 commit e4b2b4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/basictests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,9 @@ for atol in tols
386386
sol = solve(probB, Falsi(), abstol = atol)
387387
@test abs(sol.u - sqrt(2)) < atol
388388
@test abs(sol.u - sqrt(2)) > ϵ
389+
sol = solve(probB, ITP(), abstol = atol)
390+
@test abs(sol.u - sqrt(2)) < atol
391+
@test abs(sol.u - sqrt(2)) > ϵ
389392
end
390393

391394
tols = [0.1] # Ridder and Brent converge rapidly so as we lower tolerance below 0.01, it converges with max precision to the solution

0 commit comments

Comments
 (0)