From e9d43224dd448d94e8fb9c1e4e3018c37ed36ebd Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Mon, 5 Feb 2024 15:14:58 +0100 Subject: [PATCH] add tests --- core/test/run_models_test.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/test/run_models_test.jl b/core/test/run_models_test.jl index bc93285f8..74f74668c 100644 --- a/core/test/run_models_test.jl +++ b/core/test/run_models_test.jl @@ -111,6 +111,11 @@ end @test ispath(toml_path) model = Ribasim.run(toml_path) @test model isa Ribasim.Model + @test model.integrator.u.storage ≈ [1000] + @test model.integrator.p.basin.precipitation == [0.0] + @test model.integrator.p.basin.potential_evaporation == [0.0] + @test model.integrator.p.basin.drainage == [0.0] + @test model.integrator.p.basin.infiltration == [0.0] @test successful_retcode(model) end