-
Notifications
You must be signed in to change notification settings - Fork 76
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
Add unit tests for 5 models #1776
Conversation
merge upstream changes
pull upstream changes
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.
Wow, thanks @claire-simpson! This must have taken a lot of work and it's going to make these test suites much more comprehensive. My only suggestion would be: if we update test suites for more models and find that the helper functions for creating test data, checking results, etc become redundant, should we abstract those out to a test_utilities module? But I don't think that needs to happen in this PR.
Description
I've added unit tests for Annual Water Yield, Carbon, Blue Carbon, Coastal Vulnerability, and Crop Production (regression). These tests assume that the functions we have currently are producing the correct output.
Fixes #1603 (in part)
Checklist