Cleanup Algorithms Library #124
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Add tests and cleanup algorithms library
Why
Total test coverage is getting affected by stale, unused, legacy code that is not (and need not be) tested. Additionally, presence of incorrect and incomplete implementations of algorithms might end up with erroneous results for 3rd party users.
How
Remarks
Expected to increase the test coverage of
c3/libraries/algorithms.pyto 50%+Checklist
Please include and complete the following checklist. Your Pull Request is (in most cases) not ready for review until the following have been completed. You can create a draft PR while you are still completing the checklist. Check the Contribution Guidelines for more details. You can mark an item as complete with the
- [x]prefixblackandflake8have been used to ensure styling guidelines are metnumpydocstyle