-
Notifications
You must be signed in to change notification settings - Fork 50
Issue #82: Unit Tests for statistics.py #84
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
Issue #82: Unit Tests for statistics.py #84
Conversation
statistics.py
harry093
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Physsix27 thanks heaps for coding up these tests. Please have a look at the comments I have made in each of the files
suv27
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you review this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Physsix27 I appreciate your work on this. Closes #82
Writing tests for the
statistics.pyand the methods:How to Test
python3 -m venv envsource env/bin/activatepip install --upgrade pipcoverage->pip install coveragenumpy->pip install numpycoverage run geodepy/tests/test_statistics.pycoverage report ../geodepy/geodepy/statistics.pycoverage html ../geodepy/geodepy/statistics.pyopen htmlcov/index.html