aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_AIC.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-12-08 22:08:38 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2020-12-08 22:08:38 +0100
commitf606838c5310f365eea1c0d6421f5c3636a4dc79 (patch)
treebdf4fdb5cb3a94cc46176f9e69132af11e81f749 /tests/testthat/test_AIC.R
parent2663158c85fca9c088d1f8cfa3bc05ad1ac36f94 (diff)
mixed.mmkin and test coverage
Diffstat (limited to 'tests/testthat/test_AIC.R')
-rw-r--r--tests/testthat/test_AIC.R1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testthat/test_AIC.R b/tests/testthat/test_AIC.R
index e9698f7c..57b9a673 100644
--- a/tests/testthat/test_AIC.R
+++ b/tests/testthat/test_AIC.R
@@ -6,6 +6,7 @@ test_that("The AIC is reproducible", {
data.frame(df = c(3, 4, 5, 5), AIC = c(59.3, 44.7, 29.0, 39.2)),
scale = 1, tolerance = 0.1)
expect_error(AIC(fits["SFO", ]), "column object")
+ expect_error(BIC(fits["SFO", ]), "column object")
expect_equivalent(BIC(fits[, "FOCUS_C"]),
data.frame(df = c(3, 4, 5, 5), AIC = c(59.9, 45.5, 30.0, 40.2)),
scale = 1, tolerance = 0.1)

Contact - Imprint