aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_f_time_norm.R
diff options
context:
space:
mode:
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