Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Feb 5, 2024
1 parent ff16453 commit e9d4322
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/test/run_models_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e9d4322

Please sign in to comment.