tests/testthat/test_city_tz.R

library(TimePackage)
context("city_tz") 

test_that("city to timezone", {
  expect_equal(city_tz("new_york"), "America/New_York")
})


  
megan-dickson/TimePackage documentation built on May 19, 2019, 8:23 a.m.