tests/testthat/test-function-get_dwd_config_combinations.R

test_that("get_dwd_config_combinations() works", {

  f <- kwb.dwd:::get_dwd_config_combinations

  result <- f()

  expect_s3_class(result, "data.frame")
  expect_identical(names(result), c("frequency", "category", "currentness"))
})
KWB-R/kwb.dwd documentation built on Sept. 28, 2022, 6:03 p.m.