kotarot / rectangle-packing-solver

A solver to find a solution of the 2D rectangle packing problem by simulated annealing (SA) optimization.
Apache License 2.0
87 stars 17 forks source link

Refactoring and add unit tests #22

Closed kotarot closed 3 years ago

codecov[bot] commented 3 years ago

Codecov Report

Merging #22 (1b46c35) into main (e6caabc) will increase coverage by 6.36%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
+ Coverage   85.76%   92.13%   +6.36%     
==========================================
  Files           8        8              
  Lines         267      267              
==========================================
+ Hits          229      246      +17     
+ Misses         38       21      -17     
Flag Coverage Δ
unittests 92.13% <ø> (+6.36%) :arrow_up:

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

Impacted Files Coverage Δ
rectangle_packing_solver/sequence_pair.py 81.91% <0.00%> (+1.06%) :arrow_up:
rectangle_packing_solver/problem.py 100.00% <0.00%> (+21.05%) :arrow_up:
rectangle_packing_solver/solution.py 100.00% <0.00%> (+40.00%) :arrow_up:
rectangle_packing_solver/floorplan.py 100.00% <0.00%> (+42.85%) :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 e6caabc...1b46c35. Read the comment docs.