tests/testthat/test-tabMWRfre.R

test_that("Checking output format type as summary", {
  result <- tabMWRfre(tst$respth, tst$accpth, tst$frecompth, runchk = F, warn = F, type = 'summary')
  expect_s3_class(result, 'flextable')
})

test_that("Checking output format type as percent", {
  result <- tabMWRfre(tst$respth, tst$accpth, tst$frecompth, runchk = F, warn = F, type = 'percent')
  expect_s3_class(result, 'flextable')
})
massbays-tech/MassWateR documentation built on April 12, 2025, 7:53 p.m.