tests/testthat/test-utliMWRoutlier.R

test_that("Testing output logscl false", {
  x <- rnorm(20)
  result <- utilMWRoutlier(x, logscl = FALSE)
  expect_type(result, 'logical')
})

test_that("Testing output logscl true", {
  x <- rlnorm(20)
  result <- utilMWRoutlier(x, logscl = TRUE)
  expect_type(result, 'logical')
})
massbays-tech/MassWateR documentation built on April 12, 2025, 7:53 p.m.