Skip to content

Commit 26b0fb2

Browse files
committed
test improvement
1 parent 6e57098 commit 26b0fb2

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

test/dsl/dsl_options.jl

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,26 +1120,6 @@ let
11201120
@test 5*sol[:Y][end] sol[:S][end] + sol[:X][end]
11211121
end
11221122

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-
11431123
# Tests that various erroneous declarations throw errors.
11441124
let
11451125
# Using = instead of ~ (for equation).

0 commit comments

Comments
 (0)