diff options
Diffstat (limited to 'tests/testthat/test_tffm0.R')
-rw-r--r-- | tests/testthat/test_tffm0.R | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/testthat/test_tffm0.R b/tests/testthat/test_tffm0.R deleted file mode 100644 index 82e1ee94..00000000 --- a/tests/testthat/test_tffm0.R +++ /dev/null @@ -1,10 +0,0 @@ -test_that("The formation fraction transformation tffm0 is reversible", { - ff_example <- c( - 0.10983681, 0.09035905, 0.08399383 - ) - ff_example_trans <- tffm0(ff_example) - expect_equal(invtffm0(ff_example_trans), ff_example) - - ff_ex_2_trans <- c(0.5, 0.9, 0.99) - expect_true(sum(invtffm0(ff_ex_2_trans)) < 1) -}) |