Skip to content
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

load_baseline_incidence #63

Open
Hanmeng-Xu opened this issue Aug 18, 2022 · 0 comments
Open

load_baseline_incidence #63

Hanmeng-Xu opened this issue Aug 18, 2022 · 0 comments
Labels
unit-test Issue related to ocvImpact unit testing

Comments

@Hanmeng-Xu
Copy link
Collaborator

Tests:

  1. check if the country_baseline raster and pop_baseline are of the same extent, if not, return a warning message;
  2. maybe a message in the middle displaying the mean and standard deviation of the distribution;
  3. the length of incid1 should be the same as the number of admin1, and the length of incid2 should be the same as the number of admin2. If not should return an error message;
  4. the length of pop1 should be the same as the number of admin1 and the length of pop2 should be the same as the number of admin2 .
  5. confirm_rate_raster_one_layer and raster1_template (or country_baseline[[1]]) should have the same resolution and the same extent, if not should return an error message;
  6. observed_case_raster and raster1_template (or country_baseline[[1]]) should have the same resolution and the same extent.
@Hanmeng-Xu Hanmeng-Xu added the unit-test Issue related to ocvImpact unit testing label Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unit-test Issue related to ocvImpact unit testing
Projects
None yet
Development

No branches or pull requests

1 participant