Add of a function in models that creates new model objects + tests.
Add of a major test based on Cosmos: tests/cosmos/distance_F/ER_1D.jl The LHA distance F of this package is tested with Cosmos. For several parameters in R1, R2, R3 experiments (see Bentriou, Ballarini, Cournede 2018), Cosmos is called to compute an average distance. Then we collect the number of simulations and the estimated value computed by Cosmos. We compute an average distance by the package methods with the same number of simulations done by Cosmos Then the two average distances are compared to each others with regard to the width of the confidence interval set in Cosmos. Test passed.
Showing
- core/MarkovProcesses.jl 1 addition, 1 deletioncore/MarkovProcesses.jl
- core/utils.jl 14 additions, 0 deletionscore/utils.jl
- models/ER.jl 9 additions, 1 deletionmodels/ER.jl
- models/SIR.jl 9 additions, 1 deletionmodels/SIR.jl
- tests/cosmos/distance_F/ER.gspn 45 additions, 0 deletionstests/cosmos/distance_F/ER.gspn
- tests/cosmos/distance_F/ER_1D.jl 71 additions, 0 deletionstests/cosmos/distance_F/ER_1D.jl
- tests/cosmos/distance_F/dist_F_ER.lha 40 additions, 0 deletionstests/cosmos/distance_F/dist_F_ER.lha
- tests/run_all.jl 1 addition, 0 deletionstests/run_all.jl
- tests/run_cosmos.jl 7 additions, 0 deletionstests/run_cosmos.jl
- tests/run_unit.jl 1 addition, 0 deletionstests/run_unit.jl
- tests/unit/create_models.jl 26 additions, 0 deletionstests/unit/create_models.jl
tests/cosmos/distance_F/ER.gspn
0 → 100644
tests/cosmos/distance_F/ER_1D.jl
0 → 100644
tests/cosmos/distance_F/dist_F_ER.lha
0 → 100644
tests/run_cosmos.jl
0 → 100644
tests/unit/create_models.jl
0 → 100644
Please register or sign in to comment