diff --git a/test/crop_tests.jl b/test/crop_tests.jl new file mode 100644 index 0000000000000000000000000000000000000000..96399903258c294bdb015b88a8a6c84e34ab8274 --- /dev/null +++ b/test/crop_tests.jl @@ -0,0 +1,6 @@ +### Persephone - a socio-economic-ecological model of European agricultural landscapes. +### +### These are the tests for the crop growth model. +### + +#TODO diff --git a/test/farm_tests.jl b/test/farm_tests.jl new file mode 100644 index 0000000000000000000000000000000000000000..29b5dfcf7fd7b968e9bb714dead7e704e619c7a5 --- /dev/null +++ b/test/farm_tests.jl @@ -0,0 +1,6 @@ +### Persephone - a socio-economic-ecological model of European agricultural landscapes. +### +### These are the tests for the farm model. +### + +#TODO diff --git a/test/landscape_tests.jl b/test/landscape_tests.jl new file mode 100644 index 0000000000000000000000000000000000000000..308603c3ca217d2027c7c0b108ec538c5b8c350b --- /dev/null +++ b/test/landscape_tests.jl @@ -0,0 +1,6 @@ +### Persephone - a socio-economic-ecological model of European agricultural landscapes. +### +### These are the tests for the core landscape functions. +### + +#TODO diff --git a/test/nature_tests.jl b/test/nature_tests.jl new file mode 100644 index 0000000000000000000000000000000000000000..b5cb2cf609c95f621b1b095504717c0cff76f278 --- /dev/null +++ b/test/nature_tests.jl @@ -0,0 +1,6 @@ +### Persephone - a socio-economic-ecological model of European agricultural landscapes. +### +### These are the tests for the nature model (excluding individual species). +### + +#TODO diff --git a/test/runtests.jl b/test/runtests.jl new file mode 100755 index 0000000000000000000000000000000000000000..bd92cde6651f6c39c24eed61ff8291c9c7f8d20c --- /dev/null +++ b/test/runtests.jl @@ -0,0 +1,26 @@ +### Persephone - a socio-economic-ecological model of European agricultural landscapes. +### +### This is the top-level file of the Persephone test suite. Execute this to run all tests. +### + +using Pkg +Pkg.activate("..") + +using Persephone +using Test + +@testset "Persephone Tests" begin + @testset "Core model" begin + include("landscape_tests.jl") + include("simulation_tests.jl") + end + @testset "Nature model" begin + include("nature_tests.jl") + end + @testset "Crop growth model" begin + include("crop_tests.jl") + end + @testset "Farm model" begin + include("farm_tests.jl") + end +end diff --git a/test/simulation_tests.jl b/test/simulation_tests.jl new file mode 100644 index 0000000000000000000000000000000000000000..4ef393c89b6126fefc9b30a49e2cbe1933980c80 --- /dev/null +++ b/test/simulation_tests.jl @@ -0,0 +1,6 @@ +### Persephone - a socio-economic-ecological model of European agricultural landscapes. +### +### These are the tests for the core simulation functions. +### + +#TODO