From 48d9cad339394c3aa0d730d9a27b1c0680ce13e8 Mon Sep 17 00:00:00 2001 From: Ranke Johannes Date: Mon, 7 Sep 2026 13:45:39 +0200 Subject: Add DTx function, check and test The tolerance of one test had to be increased in test_deSolve.R, and four vdiffr snapshots with negligible differences were updated. Tests run with a maximum of 16 cores when running in the Agroscope Apptainer environment. --- tests/testthat/test_deSolve.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/testthat/test_deSolve.R') diff --git a/tests/testthat/test_deSolve.R b/tests/testthat/test_deSolve.R index 3d15de35..c7acdc43 100644 --- a/tests/testthat/test_deSolve.R +++ b/tests/testthat/test_deSolve.R @@ -13,7 +13,8 @@ test_that("Solutions with deSolve work if we have no observations at time zero", solution_type = "deSolve", quiet = TRUE) expect_equal( parms(f_sfo_sfo_nozero), - parms(f_sfo_sfo_nozero_deSolve) + parms(f_sfo_sfo_nozero_deSolve), + tolerance = 1e-5 ) }) -- cgit v1.2.3