stefmolin / data-morph

Morph an input dataset of 2D points into select shapes, while preserving the summary statistics to a given number of decimal points through simulated annealing. It is intended to be used as a teaching tool to illustrate the importance of data visualization.
https://stefaniemolin.com/data-morph/
MIT License
71 stars 20 forks source link

Add additional test for DataMorpher to increase coverage. #134

Closed stefmolin closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #134 (0efc518) into main (075cb67) will increase coverage by 0.08%. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/stefmolin/data-morph/pull/134/graphs/tree.svg?width=650&height=150&src=pr&token=3SEEG9SZQO&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefanie+Molin)](https://app.codecov.io/gh/stefmolin/data-morph/pull/134?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefanie+Molin) ```diff @@ Coverage Diff @@ ## main #134 +/- ## ========================================== + Coverage 98.31% 98.39% +0.08% ========================================== Files 42 42 Lines 1657 1678 +21 Branches 319 327 +8 ========================================== + Hits 1629 1651 +22 Misses 24 24 + Partials 4 3 -1 ``` | [Impacted Files](https://app.codecov.io/gh/stefmolin/data-morph/pull/134?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefanie+Molin) | Coverage Δ | | |---|---|---| | [tests/test\_morpher.py](https://app.codecov.io/gh/stefmolin/data-morph/pull/134?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefanie+Molin#diff-dGVzdHMvdGVzdF9tb3JwaGVyLnB5) | `100.00% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/stefmolin/data-morph/pull/134/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefanie+Molin)