Skip to content

Commit 07cde5e

Browse files
committed
Merge branch 'master' of https://github.com/traitecoevo/saltbush
2 parents 54a17ae + 4c7f025 commit 07cde5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testthat/test-test_spectral.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ test_that("calculate_cv works", {
1111
pixelvalues <- calculate_cv(df,
1212
wavelengths = c('blue','green','red','red_edge','nir'),
1313
rarefaction = TRUE, min_points = 5000, n = 999)
14+
expect_true(pixelvalues$CV<0.6)
15+
expect_true(pixelvalues$aoi_id==1)
1416
})

0 commit comments

Comments
 (0)