-
Notifications
You must be signed in to change notification settings - Fork 158
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
Fix the turbine.power function unit test #755
Conversation
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.
Well done @paulf81! Here are a few comments to expand the tests and add a little more clarity. Overall, this is great, thanks for fixing this.
Improvements made in commit: "Add github revisions":
|
This reverts commit 6f88036.
I changed the array comparisons here to
This means |
Fix the power unit test
The unit test of the power() function in turbine.py, test_power() in turbine_unit_test.py contained several errors which were masked by the fact that the tolerance value passed assert_allclose() function was very large. This pull request fixes these issues. Specifically:
Impacted areas of the software
turbine.py
turbine_unit_test.py