@@ -10,73 +10,63 @@ using SafeTestsets, Test
1010# ## Run Tests ###
1111@time begin
1212
13- # 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
21- # @time @safetestset "Coupled CRN/Equation Systems" begin include("reactionsystem_core/coupled_equation_crn_systems.jl") end
22- @time @safetestset " Events" begin include (" reactionsystem_core/events.jl" ) end
23-
24- # Tests model creation via the @reaction_network DSL.
25- @time @safetestset " DSL Basic Model Construction" begin include (" dsl/dsl_basic_model_construction.jl" ) end
26- @time @safetestset " DSL Advanced Model Construction" begin include (" dsl/dsl_advanced_model_construction.jl" ) end
27- @time @safetestset " DSL Options" begin include (" dsl/dsl_options.jl" ) end
13+ # 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
20+ # @time @safetestset "Coupled CRN/Equation Systems" begin include("reactionsystem_core/coupled_equation_crn_systems.jl") end
21+ @time @safetestset " Events" begin include (" reactionsystem_core/events.jl" ) end
2822
29- # Tests compositional and hierarchical modelling.
30- @time @safetestset " ReactionSystem Components Based Creation" begin include (" compositional_modelling/component_based_model_creation.jl" ) end
31- # end
23+ # Tests model creation via the @reaction_network DSL.
24+ @time @safetestset " DSL Basic Model Construction" begin include (" dsl/dsl_basic_model_construction.jl" ) end
25+ @time @safetestset " DSL Advanced Model Construction" begin include (" dsl/dsl_advanced_model_construction.jl" ) end
26+ @time @safetestset " DSL Options" begin include (" dsl/dsl_options.jl" ) end
3227
33- # if GROUP == "All" || GROUP == "Miscellaneous-NetworkAnalysis"
34- # Tests various miscellaneous features.
35- @time @safetestset " API" begin include (" miscellaneous_tests/api.jl" ) end
36- @time @safetestset " Units" begin include (" miscellaneous_tests/units.jl" ) end
37- @time @safetestset " Steady State Stability Computations" begin include (" miscellaneous_tests/stability_computation.jl" ) end
38- @time @safetestset " Compound Species" begin include (" miscellaneous_tests/compound_macro.jl" ) end
39- @time @safetestset " Reaction Balancing" begin include (" miscellaneous_tests/reaction_balancing.jl" ) end
40- @time @safetestset " ReactionSystem Serialisation" begin include (" miscellaneous_tests/reactionsystem_serialisation.jl" ) end
28+ # Tests compositional and hierarchical modelling.
29+ @time @safetestset " ReactionSystem Components Based Creation" begin include (" compositional_modelling/component_based_model_creation.jl" ) end
4130
42- # Tests reaction network analysis features.
43- @time @safetestset " Conservation Laws" begin include (" network_analysis/conservation_laws.jl" ) end
44- @time @safetestset " Network Properties" begin include (" network_analysis/network_properties.jl" ) end
45- # end
31+ # Tests various miscellaneous features.
32+ @time @safetestset " API" begin include (" miscellaneous_tests/api.jl" ) end
33+ @time @safetestset " Units" begin include (" miscellaneous_tests/units.jl" ) end
34+ @time @safetestset " Steady State Stability Computations" begin include (" miscellaneous_tests/stability_computation.jl" ) end
35+ @time @safetestset " Compound Species" begin include (" miscellaneous_tests/compound_macro.jl" ) end
36+ @time @safetestset " Reaction Balancing" begin include (" miscellaneous_tests/reaction_balancing.jl" ) end
37+ @time @safetestset " ReactionSystem Serialisation" begin include (" miscellaneous_tests/reactionsystem_serialisation.jl" ) end
4638
47- # if GROUP == "All" || GROUP == "Simulation"
48- # Tests ODE, SDE, jump simulations, nonlinear solving, and steady state simulations.
49- @time @safetestset " ODE System Simulations" begin include (" simulation_and_solving/simulate_ODEs.jl" ) end
50- @time @safetestset " Automatic Jacobian Construction" begin include (" simulation_and_solving/jacobian_construction.jl" ) end
51- @time @safetestset " SDE System Simulations" begin include (" simulation_and_solving/simulate_SDEs.jl" ) end
52- @time @safetestset " Jump System Simulations" begin include (" simulation_and_solving/simulate_jumps.jl" ) end
53- @time @safetestset " Nonlinear and SteadyState System Solving" begin include (" simulation_and_solving/solve_nonlinear.jl" ) end
39+ # Tests reaction network analysis features.
40+ @time @safetestset " Conservation Laws" begin include (" network_analysis/conservation_laws.jl" ) end
41+ @time @safetestset " Network Properties" begin include (" network_analysis/network_properties.jl" ) end
5442
55- # Tests upstream SciML and DiffEq stuff.
56- @time @safetestset " MTK Structure Indexing" begin include (" upstream/mtk_structure_indexing.jl" ) end
57- @time @safetestset " MTK Problem Inputs" begin include (" upstream/mtk_problem_inputs.jl" ) end
58- # end
43+ # Tests ODE, SDE, jump simulations, nonlinear solving, and steady state simulations.
44+ @time @safetestset " ODE System Simulations" begin include (" simulation_and_solving/simulate_ODEs.jl" ) end
45+ @time @safetestset " Automatic Jacobian Construction" begin include (" simulation_and_solving/jacobian_construction.jl" ) end
46+ @time @safetestset " SDE System Simulations" begin include (" simulation_and_solving/simulate_SDEs.jl" ) end
47+ @time @safetestset " Jump System Simulations" begin include (" simulation_and_solving/simulate_jumps.jl" ) end
48+ @time @safetestset " Nonlinear and SteadyState System Solving" begin include (" simulation_and_solving/solve_nonlinear.jl" ) end
5949
60- # if GROUP == "All" || GROUP == "Spatial"
61- # Tests spatial modelling and simulations.
62- @time @safetestset " PDE Systems Simulations" begin include (" spatial_modelling/simulate_PDEs.jl" ) end
63- @time @safetestset " Lattice Reaction Systems" begin include (" spatial_modelling/lattice_reaction_systems.jl" ) end
64- @time @safetestset " ODE Lattice Systems Simulations" begin include (" spatial_modelling/lattice_reaction_systems_ODEs.jl" ) end
65- @time @safetestset " Jump Lattice Systems Simulations" begin include (" spatial_reaction_systems/lattice_reaction_systems_jumps.jl" ) end
66- # end
50+ # Tests upstream SciML and DiffEq stuff.
51+ @time @safetestset " MTK Structure Indexing" begin include (" upstream/mtk_structure_indexing.jl" ) end
52+ @time @safetestset " MTK Problem Inputs" begin include (" upstream/mtk_problem_inputs.jl" ) end
6753
68- # if GROUP == "All" || GROUP == "Visualisation-Extensions"
69- # Tests network visualisation.
70- @time @safetestset " Latexify" begin include (" visualisation/latexify.jl" ) end
71- # Disable on Macs as can't install GraphViz via jll
72- if ! Sys. isapple ()
73- @time @safetestset " Graphs Visualisations" begin include (" visualisation/graphs.jl" ) end
74- end
54+ # Tests spatial modelling and simulations.
55+ @time @safetestset " PDE Systems Simulations" begin include (" spatial_modelling/simulate_PDEs.jl" ) end
56+ @time @safetestset " Lattice Reaction Systems" begin include (" spatial_modelling/lattice_reaction_systems.jl" ) end
57+ @time @safetestset " ODE Lattice Systems Simulations" begin include (" spatial_modelling/lattice_reaction_systems_ODEs.jl" ) end
58+ @time @safetestset " Jump Lattice Systems Simulations" begin include (" spatial_reaction_systems/lattice_reaction_systems_jumps.jl" ) end
7559
76- # Tests extensions.
77- # @time @safetestset "BifurcationKit Extension" begin include("extensions/bifurcation_kit.jl") end
78- # @time @safetestset "HomotopyContinuation Extension" begin include("extensions/homotopy_continuation.jl") end
79- # @time @safetestset "Structural Identifiability Extension" begin include("extensions/structural_identifiability.jl") end
80- # end
60+ # Tests network visualisation.
61+ @time @safetestset " Latexify" begin include (" visualisation/latexify.jl" ) end
62+ # Disable on Macs as can't install GraphViz via jll
63+ if ! Sys. isapple ()
64+ @time @safetestset " Graphs Visualisations" begin include (" visualisation/graphs.jl" ) end
65+ end
66+
67+ # Tests extensions.
68+ # @time @safetestset "BifurcationKit Extension" begin include("extensions/bifurcation_kit.jl") end
69+ # @time @safetestset "HomotopyContinuation Extension" begin include("extensions/homotopy_continuation.jl") end
70+ # @time @safetestset "Structural Identifiability Extension" begin include("extensions/structural_identifiability.jl") end
8171
8272end # @time
0 commit comments