tests/testthat/test-show_sedimentmap.R

test_that("Checking show_sedimentmap class", {
  result <- show_sedimentmap(sedimentdata, param = 'Arsenic', yrrng = 2023)
  expect_is(result, 'leaflet')
})

test_that("Checking show_sedimentmap class, no TEL/PEL", {
  result <- expect_warning(show_sedimentmap(sedimentdata, param = 'Selenium', yrrng = 2023))
  expect_is(result, 'leaflet')
})
tbep-tech/tbeptools documentation built on April 13, 2025, 4:50 p.m.