Skip to content

Commit

Permalink
Consolidate timestep index testing
Browse files Browse the repository at this point in the history
q
  • Loading branch information
pwinskill committed Aug 2, 2022
1 parent 59122f8 commit f5472aa
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/testthat/test-rtss-epi.R
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,3 @@ test_that('RTS,S EPI schedules for the following year with seasonal boosters', {
335
)
})


test_that('RTS,S epi time varying coverages work', {
expect_equal(index_coverage(c(0, 0.5), c(10, 20), 9), NA)
expect_equal(index_coverage(c(0, 0.5), c(10, 20), 10), 0)
expect_equal(index_coverage(c(0, 0.5), c(10, 20), 11), 0)
expect_equal(index_coverage(c(0, 0.5), c(10, 20), 20), 0.5)
expect_equal(index_coverage(c(0, 0.5), c(10, 20), 21), 0.5)
})

0 comments on commit f5472aa

Please sign in to comment.