diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-12-09 08:40:49 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-12-09 08:40:49 +0100 |
commit | 0517ca6179d3c4bc35cc7edcfd5de3d98aa4fd64 (patch) | |
tree | 0904af01fa5308e8cd39e94c4ab655df90df6c1f /tests/testthat/test_f_time_norm.R | |
parent | dcb7d15f36b5a2315a6ef7652360ae90ec414141 (diff) |
Some more tests
Diffstat (limited to 'tests/testthat/test_f_time_norm.R')
-rw-r--r-- | tests/testthat/test_f_time_norm.R | 6 |
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) +}) + |