tests/testthat/test-date_start_and_end_to_date_seq.R

context("get_time_from_start_of_season")

test_that("Test season start time",{
  expect_true(get_time_from_start_of_season("2020-EW10","2020-EW35")==26)
})
reichlab/cdcForecastUtils documentation built on May 6, 2020, 10:43 a.m.