aboutsummaryrefslogtreecommitdiff
path: root/pkg/tests/testthat/test_PEC_sed.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-12-22 19:32:54 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2015-12-22 19:32:54 +0100
commit3a579d87820ccbec514f1be5eb090e874fd87eec (patch)
treefdc726d4938dc98fc741a38435372da22dc9e956 /pkg/tests/testthat/test_PEC_sed.R
parent9851a97ec915ddbfc8357f1a7e2cabae56c89f7d (diff)
EFSA 2015 tier 1 PEC soil, clean up, add static docs
Diffstat (limited to 'pkg/tests/testthat/test_PEC_sed.R')
-rw-r--r--pkg/tests/testthat/test_PEC_sed.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tests/testthat/test_PEC_sed.R b/pkg/tests/testthat/test_PEC_sed.R
index d83be0f..443f789 100644
--- a/pkg/tests/testthat/test_PEC_sed.R
+++ b/pkg/tests/testthat/test_PEC_sed.R
@@ -4,6 +4,6 @@ test_that("PEC_sw_sed calculates correctly using the percentage method", {
# Application of 100 g/ha, 1 m spray drift distance (2.77% drift input), 50% in sediment,
# default assumptions of CRD spreadsheet (5 cm sediment depth, 1.3 kg/L sediment density)
# Reference value calculated with CRD spreadsheet
- PEC_sw_100_1_m <- PEC_sw_drift_ini(100, distances = 1)
+ PEC_sw_100_1_m <- PEC_sw_drift(100, distances = 1)
expect_equivalent(round(PEC_sw_sed(PEC_sw_100_1_m, percentage = 50), 3), 2.131)
})

Contact - Imprint