tests/testthat/test_misc.R

context("Functions work as expected")

test_that("colours are valid", {
  cols <- appStockcol()
  expect_true(inherits(cols, "character"))
})

test_that("remap fails if only one msnset is passed", {
  dat1 <- data(dunkley2006)
  expect_error(remap(dat1))
})
lgatto/pRolocGUI documentation built on Nov. 3, 2024, 5:01 a.m.