|
1 | 1 | using DelayDiffEq |
| 2 | +using OrdinaryDiffEqCore |
2 | 3 | using Test |
3 | 4 |
|
4 | 5 | # check constant extrapolation with problem with vanishing delays at t = 0 |
|
74 | 75 |
|
75 | 76 | # add step to integrator |
76 | 77 | @testset "update integrator" begin |
77 | | - OrdinaryDiffEq.loopheader!(integrator) |
78 | | - OrdinaryDiffEq.perform_step!(integrator, integrator.cache) |
| 78 | + OrdinaryDiffEqCore.loopheader!(integrator) |
| 79 | + OrdinaryDiffEqCore.perform_step!(integrator, integrator.cache) |
79 | 80 | integrator.t = integrator.dt |
80 | 81 | @test 0.01 < integrator.t < 1 |
81 | 82 | @test integrator.sol.t[end] == 0 |
|
85 | 86 | @testset "integrator interpolation" for deriv in (Val{0}, Val{1}), |
86 | 87 | idxs in (nothing, [2]) |
87 | 88 | # expected value |
88 | | - trueval = OrdinaryDiffEq.current_interpolant(0.01, integrator, idxs, deriv) |
| 89 | + trueval = OrdinaryDiffEqCore.current_interpolant(0.01, integrator, idxs, deriv) |
89 | 90 |
|
90 | 91 | # out-of-place |
91 | 92 | history_notinplace.isout = false |
|
103 | 104 | # add step to solution |
104 | 105 | @testset "update solution" begin |
105 | 106 | integrator.t = 0 |
106 | | - OrdinaryDiffEq.loopfooter!(integrator) |
| 107 | + OrdinaryDiffEqCore.loopfooter!(integrator) |
107 | 108 | @test integrator.t == integrator.sol.t[end] |
108 | 109 | end |
109 | 110 |
|
|
130 | 131 |
|
131 | 132 | idxs == 0 && (idxs = nothing) |
132 | 133 | # expected value |
133 | | - trueval = OrdinaryDiffEq.current_interpolant(1, integrator, idxs, deriv) |
| 134 | + trueval = OrdinaryDiffEqCore.current_interpolant(1, integrator, idxs, deriv) |
134 | 135 |
|
135 | 136 | # out-of-place |
136 | 137 | history_notinplace.isout = false |
|
0 commit comments