Closed callumrollo closed 1 year ago
Added an integration test to start addressing #5. The test data file is large though: 15 MB. For now, this will provide a safety check against refactoring changing the output. Eventually this will be replaced with unit tests for each function
@bastienqueste is this good to go? Then I can move on to the next stage
Looks good to me!
This addreses the first point of Issue #3
We use the output dictionary
out
as the testable output. I have added a cell at the end of the notebook that checks thatout
is unaltered after the refactor.@bastienqueste if you are happy with this refactor that moves functions to an external script, I will refine it by cleaning up the functions, deleting unused code, standardising names etc.