tests/testthat/test-hello.R

context("File R/hello.R")

test_that("hello()", {
  expect_equal(hello("Bob"), "Bob")
})

test_that("double()", {
  expect_equal(double(10), 10*2)
})
davidweinfls/DATA-598-WI20-week-7 documentation built on March 8, 2020, 11:17 p.m.