Skip to content

Commit 00ed8a6

Browse files
committed
Add test for autoplot.seroincidence.by()
1 parent 849c11f commit 00ed8a6

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
test_that("Build graphs not TRUE", {
2+
3+
est2 <- est_seroincidence_by(
4+
strata = c("catchment"),
5+
pop_data = sees_pop_data_pk_100,
6+
curve_params = typhoid_curves_nostrat_100,
7+
curve_strata_varnames= NULL,
8+
noise_strata_varnames = NULL,
9+
noise_params = example_noise_params_pk,
10+
antigen_isos = c("HlyE_IgG", "HlyE_IgA"),
11+
build_graph = FALSE
12+
) |>
13+
autoplot(est2) |>
14+
15+
expect_error()
16+
})
17+

0 commit comments

Comments
 (0)