Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 2 additions & 14 deletions tests/testthat/test-associndex.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,24 +59,12 @@ test_that("associndex calcula threshold automáticamente", {
associndex(Amoladeras_int, Amoladeras_cover,
expand = "yes",
rm_sp_no_cover = "allsp",
threshold_density = NULL),
"threshold density has been set"
threshold_density = "Weibull"),
regexp = "threshold density has been set"
)

})

# Test 7.- La función no calcula el thresold si se da

test_that("associndex no calcula threshold si se proporciona", {

expect_no_message(
associndex(Amoladeras_int, Amoladeras_cover,
expand = "yes",
rm_sp_no_cover = "allsp",
threshold_density = 1000)
)

})



Loading