From f5472aaf04792a676b952d79134f21b1ff51ba92 Mon Sep 17 00:00:00 2001 From: Peter Winskill Date: Tue, 2 Aug 2022 15:39:28 +0100 Subject: [PATCH] Consolidate timestep index testing q --- tests/testthat/test-rtss-epi.R | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/testthat/test-rtss-epi.R b/tests/testthat/test-rtss-epi.R index 88541125..0d4eef98 100644 --- a/tests/testthat/test-rtss-epi.R +++ b/tests/testthat/test-rtss-epi.R @@ -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) -})