tests/testthat/test-function-to.GMT.plus.1.R

#
# This test file has been generated by kwb.test::create_test_files()
#

test_that("to.GMT.plus.1() works", {

  kwb.datetime:::to.GMT.plus.1(timestamp = "a")
   kwb.datetime:::to.GMT.plus.1(timestamp = c("a", "b"))
   expect_error(
    kwb.datetime:::to.GMT.plus.1(timestamp = 1)
    # is.character(timestamp) is not TRUE
  )

})
KWB-R/kwb.datetime documentation built on July 9, 2021, 10:28 p.m.