Skip to content

Commit 4f30b7b

Browse files
committed
up
1 parent 13738e9 commit 4f30b7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/reactionsystem_core/coupled_equation_crn_systems.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ let
149149
@test issetequal(equations(coupled_rs)[3:3], eqs[3:3])
150150

151151
# Set simulation inputs.
152-
u0 = [X => 0.1]
152+
u0 = [X => 0.1, A => 10.0]
153153
tspan = (0.0, 1000.0)
154154
ps = [p => 1.0, d => 0.5, a => 2.0, b => 16.0]
155155

@@ -197,7 +197,7 @@ let
197197
coupled_rs = complete(coupled_rs)
198198

199199
# Set simulation inputs.
200-
u0 = (X => 1.0, A => 2.0, B => 3.0)
200+
u0 = (X => 1.0, A => 2.0, B => 3.0, C => 4.0)
201201
ps = (p => 1.0, d => 2.0, a => 3.0, b => 4.0, c => 5.0)
202202

203203
# Creates and solves a ODE, SteadyState, and Nonlinear problems.
@@ -689,7 +689,7 @@ let
689689

690690
# Checks that the models can be simulated and yield identical results.
691691
# Test most likely redundant, but seem useful to have one test like this to be sure.
692-
u0 = [X1 => 0.1, X2 => 0.2, X3 => 0.2, N => 10.0]
692+
u0 = [X1 => 0.1, X2 => 0.2, X3 => 0.2, X_tot => 0.6, N => 10.0, X_conc => 10.0]
693693
ps = [p => 1.0, k1 => 1.2, k2 => 1.5, d => 2.0, v => 0.2, n => 0.5, x_scale => 2.0]
694694
oprob_prog = ODEProblem(rs_prog, u0, (0.0, 10.0), ps; structural_simplify = true)
695695
oprob_dsl = ODEProblem(rs_dsl, u0, (0.0, 10.0), ps; structural_simplify = true)

0 commit comments

Comments
 (0)