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

develop unit tests for all functions & classes #6

Open
13 tasks
achubaty opened this issue Jul 15, 2016 · 2 comments
Open
13 tasks

develop unit tests for all functions & classes #6

achubaty opened this issue Jul 15, 2016 · 2 comments
Assignees

Comments

@achubaty
Copy link
Owner

achubaty commented Jul 15, 2016

click the badges below to see more detailed coverage info:

branch coverage status
master Codecov test coverage
development Codecov test coverage

see http://r-pkgs.had.co.nz/tests.html

NOTE: this list is likely incomplete.

classes

  • mpg
  • goc
  • hce
  • grain
  • corridor

methods

  • corridor
  • distance
  • GOC
  • grain
  • graphdf -- this one is probably the easiest to start with: compare an igraph object to the resulting data.frame
  • MPG -- current tests for not all patches linked by MPG() #32 check the igraph object but not the produced raster.
  • point
  • thresholds
@achubaty
Copy link
Owner Author

achubaty commented Dec 2, 2016

added test for MPG() with NA values in raster (c331210) (#28)

@achubaty achubaty self-assigned this Feb 21, 2017
@achubaty achubaty modified the milestone: v1.0.0 Mar 7, 2017
@achubaty
Copy link
Owner Author

Fall et al. (2007) describes the mathematical/conceptual aspects of MPG, MST, etc. which can be used to develop tests to ensure our algorithm produces correct results.

@achubaty achubaty removed this from the v1.0.0 milestone Aug 2, 2019
achubaty added a commit that referenced this issue Apr 19, 2023
with #6 since all examples explicitly tested
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant