-
Notifications
You must be signed in to change notification settings - Fork 11
[WIP] Test Coverage for Line Methods, Changes to Line Methods #239
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
Conversation
|
Currently, this PR is not ready to be merged for a few reasons:
|
|
This PR has been cleaned up a bit:
However:
Finally:
We should wait until Nathan's PR addressing #235 is merged before we consider merging this PR. We should also address #262, one way or another, before we merge this PR. |
| path_verts = self.ax.transData.inverted().transform( | ||
| l._transformed_path.get_fully_transformed_path().vertices | ||
| ) | ||
| # Here we will get the verticies for the line and reformat them in |
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.
lets:
- Remove xtime as a parameter
- Let's make the data extent (boolean) parameter to make this test OPTIONAL
lwasser
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.
Here - let's address the issue of making the xlims data test a parameter (boolean)
please also
- Update from master (so the pr passes)
- Add a change log entry
- Add any comments at the end for anything that hasn't been complete!
Codecov Report
@@ Coverage Diff @@
## master #239 +/- ##
==========================================
+ Coverage 79.95% 81.42% +1.46%
==========================================
Files 19 20 +1
Lines 1831 1884 +53
==========================================
+ Hits 1464 1534 +70
+ Misses 367 350 -17
Continue to review full report at Codecov.
|
|
TODO's here:
think about edge cases... |
|
ok thanks @nkorinek closing!! |
Primarily, this PR addresses issue #186 (test coverage). It adds tests for
base.assert_line()andbase.assert_lines_of_type(). These tests should also provide coverage forbase.get_slope_yintercept().While working on these tests, a number of other issues were encountered. This PR should also address those: