diff --git a/Project.toml b/Project.toml index f2fe391e8d8c17c697274df1ba4486b5ea96e5a2..2dc340ebe152c1fd87d3f14ae3ee47e32cc671fd 100644 --- a/Project.toml +++ b/Project.toml @@ -23,6 +23,7 @@ QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" ScikitLearn = "3646fa90-6ef7-5e7e-9f22-8aca16db6324" SharedArrays = "1a1011a3-84de-559e-8e89-a11a2f7dc383" +SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" diff --git a/test/abc_model_choice/toy_example.jl b/test/abc_model_choice/toy_example.jl index ec7382e13af8ad1dce4f616bab6d28174c1a92f7..c7f8f701ada2909230e212bbe9abb116e3116c17 100644 --- a/test/abc_model_choice/toy_example.jl +++ b/test/abc_model_choice/toy_example.jl @@ -1,4 +1,5 @@ +using Distributed @everywhere begin using Distributions using MarkovProcesses diff --git a/test/run_abc_model_choice.jl b/test/run_abc_model_choice.jl new file mode 100755 index 0000000000000000000000000000000000000000..222ff7b0c39e661f8dee3199d14d677e1f72caa9 --- /dev/null +++ b/test/run_abc_model_choice.jl @@ -0,0 +1,8 @@ + +using Test + +@testset "ABC model choice tests" begin + @test include("abc_model_choice/toy_example.jl") + @test include("abc_model_choice/toy_example_ma.jl") +end + diff --git a/test/runtests.jl b/test/runtests.jl index 6fe2641940421ba2a9ee3eb51a82ef09cd1e0164..32faa2d754ba6b0bd6839e1feb77f1a5bb3e02da 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -8,4 +8,5 @@ include("run_simulation.jl") include("run_dist_lp.jl") include("run_automata.jl") include("run_abc_smc.jl") +include("run_abc_model_choice.jl")