tests/testthat/test-show_sedimentpelave.R

test_that("Checking show_sedimentpelave class", {
  result <- show_sedimentpelave(sedimentdata, yrrng = 2023)
  expect_is(result, 'ggplot')
})

test_that("Checking show_sedimentpelave plotly class", {
  result <- show_sedimentpelave(sedimentdata, yrrng = 2023, plotly = T)
  expect_is(result, 'plotly')
})
tbep-tech/tbeptools documentation built on April 13, 2025, 4:50 p.m.