[WIP] Test Coverage for Line Methods, Changes to Line Methods#239
[WIP] Test Coverage for Line Methods, Changes to Line Methods#239marty-larocque wants to merge 13 commits intoearthlab:masterfrom
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.
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.
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: