aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_f_time_norm.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-12-09 08:40:49 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2020-12-09 08:40:49 +0100
commit0517ca6179d3c4bc35cc7edcfd5de3d98aa4fd64 (patch)
tree0904af01fa5308e8cd39e94c4ab655df90df6c1f /tests/testthat/test_f_time_norm.R
parentdcb7d15f36b5a2315a6ef7652360ae90ec414141 (diff)
Some more tests
Diffstat (limited to 'tests/testthat/test_f_time_norm.R')
-rw-r--r--tests/testthat/test_f_time_norm.R6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testthat/test_f_time_norm.R b/tests/testthat/test_f_time_norm.R
new file mode 100644
index 00000000..790cce8b
--- /dev/null
+++ b/tests/testthat/test_f_time_norm.R
@@ -0,0 +1,6 @@
+context("Time step normalisation")
+
+test_that("Simple temperature and moisture normalisation works", {
+ expect_equal(round(f_time_norm_focus(25, 20, 25), 2), 1.37)
+})
+

Contact - Imprint