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

Commit 7cccd62

Browse files
committed
error check tests
1 parent 071fd44 commit 7cccd62

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/basictests.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,18 @@ probB = IntervalNonlinearProblem(f, tspan)
357357
sol = solve(probB, Alefeld())
358358
@test sol.u sqrt(2.0)
359359

360+
# Itp
361+
sol = solve(probB, Itp())
362+
@test sol.u sqrt(2.0)
363+
tspan = (sqrt(2.0), 10.0)
364+
probB = IntervalNonlinearProblem(f, tspan)
365+
sol = solve(probB, Itp())
366+
@test sol.u sqrt(2.0)
367+
tspan = (0.0, sqrt(2.0))
368+
probB = IntervalNonlinearProblem(f, tspan)
369+
sol = solve(probB, Itp())
370+
@test sol.u sqrt(2.0)
371+
360372
# Garuntee Tests for Bisection
361373
f = function (u, p)
362374
if u < 2.0

0 commit comments

Comments
 (0)