|
35 | 35 |
|
36 | 36 | # time point of solution |
37 | 37 | if saveat isa Number |
38 | | - @test sol2.t == |
39 | | - (save_start ? [0.0, 25.0, 50.0, 75.0, 100.0] : [25.0, 50.0, 75.0, 100.0]) |
| 38 | + @test sol2.t == (save_start ? [0.0, 25.0, 50.0, 75.0, 100.0] : [25.0, 50.0, 75.0, 100.0]) |
40 | 39 | else |
41 | 40 | @test sol2.t == (save_start ? [0.0, 25.0, 50.0, 75.0] : [25.0, 50.0, 75.0]) |
42 | 41 | end |
|
64 | 63 |
|
65 | 64 | # time point of solution |
66 | 65 | if saveat isa Number |
67 | | - @test sol2.t == |
68 | | - (save_end ? [0.0, 25.0, 50.0, 75.0, 100.0] : [0.0, 25.0, 50.0, 75.0]) |
| 66 | + @test sol2.t == (save_end ? [0.0, 25.0, 50.0, 75.0, 100.0] : [0.0, 25.0, 50.0, 75.0]) |
69 | 67 | else |
70 | 68 | @test sol2.t == (save_end ? [25.0, 50.0, 75.0, 100.0] : [25.0, 50.0, 75.0]) |
71 | 69 | end |
|
92 | 90 | @test sol2.u == dde_int2.sol.u |
93 | 91 |
|
94 | 92 | # time points of solution |
95 | | - @test symdiff(sol.t, sol2.t) == |
96 | | - (save_start ? [25.0, 50.0, 75.0] : [0.0, 25.0, 50.0, 75.0]) |
| 93 | + @test symdiff(sol.t, sol2.t) == (save_start ? [25.0, 50.0, 75.0] : [0.0, 25.0, 50.0, 75.0]) |
97 | 94 |
|
98 | 95 | # history is equal to solution above |
99 | 96 | @test sol.t == dde_int2.integrator.sol.t |
|
117 | 114 | @test sol2.u == dde_int2.sol.u |
118 | 115 |
|
119 | 116 | # time points of solution |
120 | | - @test symdiff(sol.t, sol2.t) == |
121 | | - (save_end ? [25.0, 50.0, 75.0] : [100.0, 25.0, 50.0, 75.0]) |
| 117 | + @test symdiff(sol.t, sol2.t) == (save_end ? [25.0, 50.0, 75.0] : [100.0, 25.0, 50.0, 75.0]) |
122 | 118 |
|
123 | 119 | # history is equal to solution above |
124 | 120 | @test sol.t == dde_int2.integrator.sol.t |
|
0 commit comments