tests/testthat/test-sayHello.R

context("functions")

test_that("We say hello to a person", {
  expect_equal(sayHello("World"), "Hello, World\n")
})
sktivd/collabExample documentation built on May 24, 2019, 2:07 a.m.