SABS-R3-Epidemiology / epistrains

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Full coverage #38

Closed Ellmen closed 2 years ago

Ellmen commented 2 years ago

Splits plot and save into different methods and tests all remaining code to get to 100% coverage.

Closes https://github.com/SABS-R3-Epidemiology/epistrains/issues/35

codecov-commenter commented 2 years ago

Codecov Report

Merging #38 (e09cdaa) into main (6448c72) will increase coverage by 10.85%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             main       #38       +/-   ##
============================================
+ Coverage   89.14%   100.00%   +10.85%     
============================================
  Files           7         7               
  Lines         175       200       +25     
============================================
+ Hits          156       200       +44     
+ Misses         19         0       -19     
Flag Coverage Δ
unittests 100.00% <100.00%> (+10.85%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
epistrains/solver.py 100.00% <100.00%> (+23.07%) :arrow_up:
epistrains/strain.py 100.00% <100.00%> (+28.57%) :arrow_up:
epistrains/tests/test_solver.py 100.00% <100.00%> (ø)
epistrains/tests/test_strain.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.