Skip to content

Commit

Permalink
Complete test for C++ code for EED model
Browse files Browse the repository at this point in the history
  • Loading branch information
RLumSK committed Dec 26, 2024
1 parent 00e466c commit fb689fe
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/testthat/test_calc_IEU.R
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,15 @@ test_that("regression tests", {
plot = FALSE),
"Numerical error, try changing your 'a' and 'b' values")
})

test_that("test additional C++ functionality", {
testthat::skip_on_cran()

SW({
expect_type(Luminescence:::src_EED_Calc_Overall_StatUncertainty(
M_Simul = matrix(1:100, ncol = 20),
Ndata = 20,
Nsimul = 2,
MinNbSimExp = 20), "double")
})
})

0 comments on commit fb689fe

Please sign in to comment.