File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -1120,26 +1120,6 @@ let
1120
1120
@test 5 * sol[:Y ][end ] ≈ sol[:S ][end ] + sol[:X ][end ]
1121
1121
end
1122
1122
1123
- # Tests that the correct symbolic variables are inferred as species, variables, and parameters.
1124
- let
1125
- rn = @reaction_network begin
1126
- @parameters p1 p2 k1 k2 k3 k4
1127
- @species X1 (t) X2 (t)
1128
- @variables W (t)
1129
- @equations begin
1130
- D (V1) ~ p1 * X1 - k1 * V1 + W
1131
- k2 * V2 ~ D (V2) + p2 * X2
1132
- V3 + X3 ~ V1^ 2 + X2^ 2
1133
- end
1134
- (k1, k2), X1 <--> X2
1135
- (k3, k4), X2 <--> X3
1136
- end
1137
-
1138
- @test issetequal (species (rn), @species X1 (t) X2 (t) X3 (t))
1139
- @test issetequal (parameters (rn), @parameters p1 p2 k1 k2 k3 k4)
1140
- @test issetequal (nonspecies (rn), @variables V1 (t) V2 (t) V3 (t) W (t))
1141
- end
1142
-
1143
1123
# Tests that various erroneous declarations throw errors.
1144
1124
let
1145
1125
# Using = instead of ~ (for equation).
You can’t perform that action at this time.
0 commit comments