From b3f4e439120669fbfdebf42cc505b507d9326ae0 Mon Sep 17 00:00:00 2001 From: schillic Date: Fri, 1 Mar 2024 10:09:41 +0100 Subject: [PATCH] remove outdated test producing warnings --- test/hybrid/hybrid.jl | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/test/hybrid/hybrid.jl b/test/hybrid/hybrid.jl index a9ca3d878e..d5e54de4ca 100644 --- a/test/hybrid/hybrid.jl +++ b/test/hybrid/hybrid.jl @@ -174,19 +174,16 @@ end # solve with default options (no simulations) sol = solve(S; T=T) - # will have many intermediate steps + # handle invariants discretely solsd = solve(S; T=T, ensemble=true, trajectories=10, use_discrete_callback=true) @test length(ensemble(solsd)) == 10 + # include the X0 vertices (here: singleton X0, so all simulations are the same) solsd = solve(S; T=T, ensemble=true, trajectories=10, include_vertices=true, use_discrete_callback=true) - @test length(ensemble(solsd)) == 10 + 1 # singleton initial condition + @test length(ensemble(solsd)) == 10 + 1 - # will handle invariants continuously but not have many intermediate steps - solsc = solve(S; T=T, ensemble=true, trajectories=10) - @test length(ensemble(solsc)) == 10 - - # will handle invariants continuously with additionally many intermediate steps + # handle invariants continuously solscstep = solve(S; T=T, ensemble=true, trajectories=10, dtmax=0.1) @test length(ensemble(solscstep)) == 10 end