Skip to content

Commit

Permalink
Update tests (#332)
Browse files Browse the repository at this point in the history
* Update tests

* Update errors_thrown.jl

* Skip the dense sampling test

---------

Co-authored-by: Nathanael Bosch <[email protected]>
  • Loading branch information
ChrisRackauckas and nathanaelbosch authored Nov 8, 2024
1 parent be97ae1 commit fc0d627
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/errors_thrown.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ODEProblemLibrary: prob_ode_lotkavolterra

@testset "Fixed-timestep requires dt" begin
prob = prob_ode_lotkavolterra
@test_throws ErrorException solve(prob, EK0(), adaptive=false)
@test_throws ArgumentError solve(prob, EK0(), adaptive=false)
@test_nowarn solve(
prob,
EK0(smooth=false),
Expand Down
2 changes: 1 addition & 1 deletion test/solution.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ using ODEProblemLibrary: prob_ode_lotkavolterra
for i in 1:n_samples
)
) / (m * n * o)
@test_broken low <= percent_in_interval <= high
@test_skip low <= percent_in_interval <= high
end
end
end
Expand Down

0 comments on commit fc0d627

Please sign in to comment.