File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 204204 @test isequal (equations (rn3)[1 ], D (A) ~ Iapp)
205205 @test isequal (equations (rn3)[2 ], Iapp ~ 2 * A* t)
206206
207+ @species Iapp (t) A (t)
208+ eq = [D (A) ~ Iapp, Iapp ~ f (A, t)]
209+ @named rn3_sym = ReactionSystem (eq, t)
210+ rn3_sym = complete (rn3_sym)
211+ @test isequivalent (rn3, rn3_sym)
212+
213+
214+
207215
208216 g (A, K, n) = A^ n + K^ n
209217 rn4 = @reaction_network begin
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ using SafeTestsets, Test
1111@time begin
1212
1313 # Tests the `ReactionSystem` structure and its properties.
14- # @time @safetestset "Reaction Structure" begin include("reactionsystem_core/reaction.jl") end
15- # @time @safetestset "ReactionSystem Structure" begin include("reactionsystem_core/reactionsystem.jl") end
16- # @time @safetestset "Higher Order Reactions" begin include("reactionsystem_core/higher_order_reactions.jl") end
17- # @time @safetestset "Symbolic Stoichiometry" begin include("reactionsystem_core/symbolic_stoichiometry.jl") end
18- # @time @safetestset "Parameter Type Designation" begin include("reactionsystem_core/parameter_type_designation.jl") end
19- # @time @safetestset "Custom CRN Functions" begin include("reactionsystem_core/custom_crn_functions.jl") end
14+ @time @safetestset " Reaction Structure" begin include (" reactionsystem_core/reaction.jl" ) end
15+ @time @safetestset " ReactionSystem Structure" begin include (" reactionsystem_core/reactionsystem.jl" ) end
16+ @time @safetestset " Higher Order Reactions" begin include (" reactionsystem_core/higher_order_reactions.jl" ) end
17+ @time @safetestset " Symbolic Stoichiometry" begin include (" reactionsystem_core/symbolic_stoichiometry.jl" ) end
18+ @time @safetestset " Parameter Type Designation" begin include (" reactionsystem_core/parameter_type_designation.jl" ) end
19+ @time @safetestset " Custom CRN Functions" begin include (" reactionsystem_core/custom_crn_functions.jl" ) end
2020 @time @safetestset " Coupled CRN/Equation Systems" begin include (" reactionsystem_core/coupled_equation_crn_systems.jl" ) end
2121 @time @safetestset " Events" begin include (" reactionsystem_core/events.jl" ) end
2222
You can’t perform that action at this time.
0 commit comments