diff --git a/test/crop_tests.jl b/test/crop_tests.jl index 53ee874d8f0a4964d893d02e961542c1bbe93c5c..b2d12fbc98d2fefec76ff2767a82beb9a7bd159d 100644 --- a/test/crop_tests.jl +++ b/test/crop_tests.jl @@ -6,9 +6,16 @@ const TESTPARAM_ALMASS = joinpath(pkgdir(Persefone), "test", "test_parameters_almass.toml") const TESTPARAM_SIMPLECROP = joinpath(pkgdir(Persefone), "test", "test_parameters_simplecrop.toml") -@testset "Model initialisation" begin - for paramfile in (TESTPARAM_ALMASS, TESTPARAM_SIMPLECROP) +#"Model initialisation" begin +@testset for paramfile in (TESTPARAM_ALMASS, TESTPARAM_SIMPLECROP) + @testset "Model initialisation" begin model = initialise(paramfile) @test model isa AgricultureModel end + @testset "Time step" begin + model = initialise(paramfile) + stepsimulation!(model) + @test model isa AgricultureModel + end end +