This is a follow up to Fix the Code 1.
Write tests for your Fix the Code 1
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.
gc_content()
get_size_class()
In an email accompanying your “updated” code, Dr. Granger indicated that the specifications for the earlength size classes were:
Write tests to check: