Skip to content

Commit

Permalink
complete tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wcornwell committed Nov 15, 2024
1 parent cb8ae52 commit 4c7f025
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-test_spectral.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ test_that("calculate_cv works", {
pixelvalues <- calculate_cv(df,
wavelengths = c('blue','green','red','red_edge','nir'),
rarefaction = TRUE, min_points = 5000, n = 999)
expect_true(pixelvalues$CV<0.6)
expect_true(pixelvalues$aoi_id==1)
})

0 comments on commit 4c7f025

Please sign in to comment.