This is the COVID-19 CovidSim microsimulation model developed by the MRC Centre for Global Infectious Disease Analysis hosted at Imperial College, London.
breaks up the massive ReadParams into a number of smaller topic-specific functions.
fixes command-line parameters being part of a vector of matrix in the parameter files
Adds unit tests for Error.cpp and Files.cpp
The intention was to add unit tests for ReadParams too, but this gets tricky as P is an extern global, and that makes it tricky to compile just the ReadParams unit for testing. Also the PR is at risk of getting monstrous, so this is a good time to pause.
This PR
The intention was to add unit tests for ReadParams too, but this gets tricky as P is an extern global, and that makes it tricky to compile just the ReadParams unit for testing. Also the PR is at risk of getting monstrous, so this is a good time to pause.