tests/testthat/test-utils.R

context("test-utils")

test_that("generate random string", {
  set.seed(1);s1 <- random_string()
  set.seed(1);s2 <- random_string()
  expect_equal(s1, s2)
})
strboul/shinyNotes documentation built on June 2, 2019, 10:56 p.m.