Skip to content

Commit 796cdaf

Browse files
committed
add one more test
1 parent 242503e commit 796cdaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/jumpsystem.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ u₀ = [A => 100, B => 0]
165165
tspan = (0.0,2000.0)
166166
dprob = DiscreteProblem(js5, u₀, tspan, p)
167167
jprob = JumpProblem(js5, dprob, Direct(), save_positions=(false,false))
168+
@test all(jprob.massaction_jump.scaled_rates .== [1.0,0.0])
169+
168170
pcondit(u,t,integrator) = t==1000.0
169171
function paffect!(integrator)
170172
integrator.p[1] = 0.0

0 commit comments

Comments
 (0)