From ed212e801c7e2b774dd4e0349705591680937118 Mon Sep 17 00:00:00 2001 From: Torkel Loman Date: Tue, 17 Dec 2024 13:32:05 +0000 Subject: [PATCH] init --- test/runtests.jl | 11 +++++------ test/spatial_modelling/lattice_reaction_systems.jl | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 5a3176872a..4cb4156d54 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -72,13 +72,15 @@ end # Tests spatial modelling and simulations. @time @safetestset "PDE Systems Simulations" begin include("spatial_modelling/simulate_PDEs.jl") end @time @safetestset "Spatial Reactions" begin include("spatial_modelling/spatial_reactions.jl") end - - # BROKEN - #@time @safetestset "Lattice Reaction Systems" begin include("spatial_modelling/lattice_reaction_systems.jl") end + @time @safetestset "Lattice Reaction Systems" begin include("spatial_modelling/lattice_reaction_systems.jl") end @time @safetestset "Spatial Lattice Variants" begin include("spatial_modelling/lattice_reaction_systems_lattice_types.jl") end @time @safetestset "ODE Lattice Systems Simulations" begin include("spatial_modelling/lattice_reaction_systems_ODEs.jl") end @time @safetestset "Jump Lattice Systems Simulations" begin include("spatial_modelling/lattice_reaction_systems_jumps.jl") end @time @safetestset "Lattice Simulation Structure Interfacing" begin include("spatial_modelling/lattice_simulation_struct_interfacing.jl") end + + # Test spatial plotting, using CairoMakie and GraphMakie + activate_extensions_env() + @time @safetestset "Lattice Simulation Plotting" begin include("extensions/lattice_simulation_plotting.jl") end end # Tests extensions. @@ -94,9 +96,6 @@ end # Tests stability computation (but requires the HomotopyContinuation extension). #@time @safetestset "Steady State Stability Computations" begin include("extensions/stability_computation.jl") end - - # Test spatial plotting, using CarioMakie and GraphMakie - @time @safetestset "Lattice Simulation Plotting" begin include("extensions/lattice_simulation_plotting.jl") end end end # @time diff --git a/test/spatial_modelling/lattice_reaction_systems.jl b/test/spatial_modelling/lattice_reaction_systems.jl index d33955ad70..a835ef08b5 100644 --- a/test/spatial_modelling/lattice_reaction_systems.jl +++ b/test/spatial_modelling/lattice_reaction_systems.jl @@ -245,7 +245,7 @@ end @observables X2 ~ 2X (p,d), 0 <--> X end - @test_logs (:warn, r"The `ReactionSystem` used as input to `LatticeReactionSystem contain observables. It *") match_mode=:any LatticeReactionSystem(rs4, [tr], short_path) + @test_logs (:warn, r"The `ReactionSystem` used as input to `LatticeReactionSystem` contain observables. It *") match_mode=:any LatticeReactionSystem(rs4, [tr], short_path) end # Tests for hierarchical input system (should yield a warning).