Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for GraphPath.java #4098

Closed

Conversation

HakanIlbas
Copy link
Contributor

In #4097 I mentioned that GraphPath.java did not have any unittests. This PR adds some unit tests to GraphPath.java. Test should have full branch coverage on all functions in GraphPath.java, except for toString(). I added the tests to the test.slow folder, since I was under the assumption that unit tests should be placed under this folder, wheras the regular test folder is more for integration tests (correct me if I am wrong, and I will happily change it).

@HakanIlbas
Copy link
Contributor Author

Also added documentation to each and every unit test, which explains what the unit test does.

@ryanmkurtz ryanmkurtz linked an issue Mar 24, 2022 that may be closed by this pull request
@ryanmkurtz ryanmkurtz added this to the 10.2 milestone Apr 4, 2022
@ryanmkurtz ryanmkurtz closed this in ccd8dc5 Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing tests for GraphPath.java
2 participants