Skip to content

Commit 201a675

Browse files
committed
re enable all tests
1 parent ad5569d commit 201a675

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

src/reactionsystem_conversions.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@ end
443443

444444
# Finds and differentials in an expression, and sets these to 0.
445445
function remove_diffs(expr)
446-
if Symbolics.hasnode(Symbolics.is_derivative, expr)
447-
return Symbolics.replacenode(expr, diff_2_zero)
446+
if hasnode(Symbolics.is_derivative, expr)
447+
return replacenode(expr, diff_2_zero)
448448
else
449449
return expr
450450
end

test/runtests.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ using SafeTestsets, Test
1111
@time begin
1212

1313
#if GROUP == "All" || GROUP == "ModelCreation"
14+
# Tests the `ReactionSystem` structure and its properties.
15+
@time @safetestset "Reaction Structure" begin include("reactionsystem_core/reaction.jl") end
16+
@time @safetestset "ReactionSystem Structure" begin include("reactionsystem_core/reactionsystem.jl") end
17+
@time @safetestset "Higher Order Reactions" begin include("reactionsystem_core/higher_order_reactions.jl") end
18+
@time @safetestset "Symbolic Stoichiometry" begin include("reactionsystem_core/symbolic_stoichiometry.jl") end
19+
@time @safetestset "Parameter Type Designation" begin include("reactionsystem_core/parameter_type_designation.jl") end
20+
@time @safetestset "Custom CRN Functions" begin include("reactionsystem_core/custom_crn_functions.jl") end
1421
@time @safetestset "Coupled CRN/Equation Systems" begin include("reactionsystem_core/coupled_equation_crn_systems.jl") end
1522
@time @safetestset "Events" begin include("reactionsystem_core/events.jl") end
1623

@@ -72,4 +79,4 @@ using SafeTestsets, Test
7279
@time @safetestset "Structural Identifiability Extension" begin include("extensions/structural_identifiability.jl") end
7380
#end
7481

75-
end # @time
82+
end # @time

0 commit comments

Comments
 (0)