Open HenrietteCapel opened 2 years ago
Add another test to "test_parameters.txt" including only one compartment but providing parameters for multiple compartments. The code should handle this by not including the compartment. @arunraja-hub
Add "test_models.py" which is a unit test structure. Need tests cases to be put in @pytest.mark.parametrize([ ]) to run test cases. 'test_read_docs' checks if all instances in the dataframe are numerical; 'test_rhs' checks if the length of the output is desired; 'test_solver' checks if the ode solver gives correct number of outputs (solver.y should be 1/2/3 dimension depends on C/P1/P2); 'test_solver_for_list' checks if the output represents correct number of doses.
Problems with:
Testing