tests/testthat/test-hello.R

context("test-hello")

test_that("multiplication works", {
  expect_equal(hello("world"), "HelloR2 world")
})

test_that("multiplication works", {
  expect_equal(hello(""), "HelloR2 ")
})
maximilianmordig/helloRpkg documentation built on May 13, 2019, 10:28 a.m.