java-algorithms-implementation
java-algorithms-implementation copied to clipboard
tests: added tests to several methods to increase branch coverage
Added the tests to a few methods to increase branch coverage. In the process we discovered a bug which is described in issue #165.
By submitting this pull request I confirm I've read and complied with the below requirements.
- [ ] I have read the Contribution guidelines and I am confident that my PR reflects them.
- [ ] I have followed the coding guidelines for this project.
- [ ] My code follows the skeleton code structure.
- [ ] This pull request has a descriptive title. For example,
Added {Algorithm/DS name} [{Language}], notUpdate README.mdorAdded new code.