Skip to content

Commit

Permalink
update calibrate carbon test
Browse files Browse the repository at this point in the history
  • Loading branch information
rfiorella committed Sep 29, 2023
1 parent 97a220c commit fd5dd34
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/testthat/test-high_level_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ test_that("calibrate_carbon returns no error", {
r2_thres = 0.95,
correct_refData = TRUE,
write_to_file = TRUE))

# these tests could probably be made more useful!!
expect_no_error(calibrate_carbon(fin, '/dev/null', "ONAQ",
method = "Bowling_2003",
calibration_half_width = 0.5,
force_cal_to_beginning = TRUE,
force_cal_to_end = TRUE,
gap_fill_parameters = FALSE,
filter_ambient = TRUE,
r2_thres = 0.95,
correct_refData = TRUE,
write_to_file = FALSE))
})


Expand Down

0 comments on commit fd5dd34

Please sign in to comment.