NTD-Modelling-Consortium / ntd-model-sch

NTD SCH model
MIT License
0 stars 6 forks source link

Add end to end test with set seed #61

Closed tlestang closed 3 months ago

tlestang commented 3 months ago

This

The test (tests/test_single_simulation) is based on Example_Run.py. It uses a set seed value and compares output prevalence across the whole population against reference values stored in the tests/data directory. The same script can be used to update the reference values at a later stage:

python tests/test_single_simulation.py --update-ref