tests/testthat/test-print.R

context("test-print.R")

test_that("print works", {
  lapply(
    1:100, function(x){
      expect_is(random_print(), "character")
      expect_is(random_print("numeric"), "numeric")
      expect_is(random_print("integer"), "integer")
      expect_is(random_print("table"), "data.frame")
    }
  )
})
ThinkR-open/shinipsum documentation built on Feb. 10, 2024, 2:16 a.m.