-
Notifications
You must be signed in to change notification settings - Fork 16
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
Less repetition in schemes
testing
#269
Conversation
Codecov Report
@@ Coverage Diff @@
## main #269 +/- ##
==========================================
- Coverage 98.79% 98.67% -0.13%
==========================================
Files 33 34 +1
Lines 3563 3236 -327
==========================================
- Hits 3520 3193 -327
Misses 43 43
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
extract_weights(grid_to_grid), extract_weights(regridder) | ||
) | ||
|
||
def test_curvilinear_and_rectilinear(self): |
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.
Note that this test diverges in behaviour with #276 due to differing behavour of regridders with respect to bounds.
with pytest.raises(ValueError, match=match): | ||
_ = self.REGRIDDER(src, tgt, mdtol=-1) | ||
|
||
def test_curvilinear_equivalence(self): |
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.
Note that this test diverges in behaviour with #276 due to differing behavour of regridders with respect to bounds.
@SciTools-incubator/esmf-regrid-devs This pull-request is stale due to a lack of activity in the last 90 days. Remove stale label or comment, otherwise this pull-request will close automatically in 7 days time. |
Closing due to lack of interest |
A follow on from #266, implementing improved test abstraction.
We have made a good start at reducing duplication in iris-esmf-regrid, but the remaining duplication still makes reviews very difficult. So I felt it important to demonstrate how improvements could be made where similar testing is desired against different elements of the code.