tests/testthat/test-util_orgin.R

test_that("Correct county returned by organization identifier", {
  result <- util_orgin('21FLMANA_WQX')
  expected <- 'Manatee'
  expect_equal(result, expected)
})

test_that("Correct station column name returned by organization identifier", {
  result <- util_orgin('21FLPDEM_WQX', stanm = TRUE)
  expected <- 'pinco_station'
  expect_equal(result, expected)
})
tbep-tech/tbeptools documentation built on April 13, 2025, 4:50 p.m.