machine-shop / mothra

Automated butterfly wing length measurement
Other
27 stars 15 forks source link

Adding and refactoring tests for functions on binarization.py #84

Closed alexdesiqueira closed 3 years ago

alexdesiqueira commented 3 years ago

In this PR, we fix tests for binarization.py according to the latest algorithms, write documentation for the ones with no docs before, and add new tests for procedures with no testing functions so far.

codecov-commenter commented 3 years ago

Codecov Report

Merging #84 (9136258) into main (6e05c48) will increase coverage by 8.70%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
+ Coverage   58.14%   66.85%   +8.70%     
==========================================
  Files           6        6              
  Lines         356      356              
==========================================
+ Hits          207      238      +31     
+ Misses        149      118      -31     
Impacted Files Coverage Δ
mothra/binarization.py 73.84% <0.00%> (+21.53%) :arrow_up:
mothra/connection.py 60.41% <0.00%> (+35.41%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6e05c48...9136258. Read the comment docs.

alexdesiqueira commented 3 years ago

Auto-merging.