This is a follow up to the Debugging 1 problem.
Write tests for your granger_analysis_code
for the following cases and
save it in a file called test_granger_analysis_code.py
(remember that
the file has to start with test_
for nose to find it). Make any
corrections/improvements that need to be made to the code so that all of
your tests pass.
In an email accompanying your “updated” code, Dr. Granger indicated that the specifications for the earlength size classes were:
Write tests to check:
Modify the main code so that all of your tests pass.