aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-10-29 11:36:50 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2022-10-29 11:37:38 +0200
commitfe66a82e0519b0649dca20dbf7633c0d24e65e70 (patch)
tree65169c2e1b5a5518fb8cf7a07432e9f2f5265c9d /tests
parent78eee50b2db791980a6de5084b03c7ae2dbc3576 (diff)
Make test independent of saemix error model parameter patch
As mentioned in d44c17da6d62568b
Diffstat (limited to 'tests')
-rw-r--r--tests/testthat/print_sfo_saem_1_reduced.txt (renamed from tests/testthat/print_sfo_saem_1.txt)5
-rw-r--r--tests/testthat/test_mixed.R2
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/testthat/print_sfo_saem_1.txt b/tests/testthat/print_sfo_saem_1_reduced.txt
index 34eea058..bac8848e 100644
--- a/tests/testthat/print_sfo_saem_1.txt
+++ b/tests/testthat/print_sfo_saem_1_reduced.txt
@@ -7,13 +7,12 @@ Data:
Likelihood computed by importance sampling
AIC BIC logLik
- 1312 1316 -650
+ 1310 1313 -650
Fitted parameters:
estimate lower upper
-parent_0 1e+02 99.28 1e+02
+parent_0 1e+02 99.08 1e+02
k_parent 4e-02 0.03 4e-02
a.1 9e-01 0.75 1e+00
b.1 5e-02 0.04 5e-02
-SD.parent_0 2e-01 -6.33 7e+00
SD.k_parent 3e-01 0.20 4e-01
diff --git a/tests/testthat/test_mixed.R b/tests/testthat/test_mixed.R
index e005c982..8e4d668b 100644
--- a/tests/testthat/test_mixed.R
+++ b/tests/testthat/test_mixed.R
@@ -11,7 +11,7 @@ test_that("Print methods work", {
expect_known_output(print(mixed(mmkin_sfo_1), digits = 2), "print_mmkin_sfo_1_mixed.txt")
expect_known_output(print(dfop_nlme_1, digits = 1), "print_dfop_nlme_1.txt")
- expect_known_output(print(sfo_saem_1, digits = 1), "print_sfo_saem_1.txt")
+ expect_known_output(print(sfo_saem_1_reduced, digits = 1), "print_sfo_saem_1_reduced.txt")
})
test_that("nlme results are reproducible to some degree", {

Contact - Imprint