Skip to content

Commit

Permalink
Fixing: test error
Browse files Browse the repository at this point in the history
  • Loading branch information
SofiaOtero committed Jan 31, 2025
1 parent c30d675 commit 3dd92c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/testthat/test-seasonal_burden_levels.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ test_that("Test that input argument checks work", {

#Finally check that dots arguments work
model_output <- seasonal_burden_levels(
tsd_data, family = "exp",
tsd_data,
family = "exp",
optim_method = "Brent",
lower_optim = 1, upper_optim = 1000
)
expect_equal(model_output$family, "exp")
expect_equal(model_output$optim$family, "exp")
})

test_that("Test that we get correct season output for newest season", {
Expand Down

0 comments on commit 3dd92c0

Please sign in to comment.