You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/reactionsystem_core/events.jl
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ let
158
158
]
159
159
160
160
# Declares various misformatted events .
161
-
# Relevant MTK issue regarding misformatted events not throwing an early error https://github.com/SciML/ModelingToolkit.jl/issues/2612.
161
+
@test_brokenfalse# Some misformatted tests should throw error at this stage, but does not (https://github.com/SciML/ModelingToolkit.jl/issues/2612).
162
162
continuous_events_bad = [
163
163
X ~1.0=> [X ~0.5], # Scalar condition.
164
164
[X ~1.0] => X ~0.5, # Scalar affect.
@@ -362,9 +362,9 @@ let
362
362
sol =solve(jprob, SSAStepper(); seed)
363
363
364
364
# Checks that all `e` parameters have been updated properly.
365
-
# Note that periodic discrete events are currently broken for jump processes.
365
+
# Note that periodic discrete events are currently broken for jump processes (and unlikely to be fixed soon due to periodic callbacks using the internals of ODE integrator and Datastructures heap implementations).
@test_brokenfalse# Currently cannot be run for Ensemble problems: https://github.com/SciML/SciMLBase.jl/issues/661 (as indexing cannot be used to check values).
121
-
for prob indeepcopy(problems)
118
+
for prob in [deepcopy(problems); deepcopy(eproblems)]
122
119
# Remake for all u0s.
123
120
rp =remake(prob; u0 = [X =>1, Y =>2])
124
121
@test rp[[X, Y]] == [1, 2]
@@ -156,9 +153,7 @@ end
156
153
# Test integrator indexing.
157
154
let
158
155
@test_brokenfalse# NOTE: Multiple problems for `nint` (https://github.com/SciML/SciMLBase.jl/issues/662).
159
-
@test_brokenfalse# NOTE: Multiple problems for `jint` (https://github.com/SciML/SciMLBase.jl/issues/654).
160
-
@test_brokenfalse# NOTE: Cannot even create a `ssint` (https://github.com/SciML/SciMLBase.jl/issues/660).
161
-
for int indeepcopy([oint, sint])
156
+
for int indeepcopy([oint, sint, jint])
162
157
# Get u values.
163
158
@test int[X] == int[model.X] == int[:X] ==4
164
159
@test int[XY] == int[model.XY] == int[:XY] ==9
@@ -208,6 +203,7 @@ let
208
203
end
209
204
210
205
# Test solve's save_idxs argument.
206
+
# Currently, `save_idxs` is broken with symbolic stuff (https://github.com/SciML/ModelingToolkit.jl/issues/1761).
211
207
let
212
208
for (prob, solver) inzip(deepcopy([oprob, sprob, jprob]), [Tsit5(), ImplicitEM(), SSAStepper()])
0 commit comments