tests/testthat/test-sayHelloRepeat.R

context("functions")

test_that("We say hello to a person with 3 times", {
        expect_equal(sayHelloRepeat(3), "Hello! Hello! Hello! ")
})
sktivd/collabExample documentation built on May 24, 2019, 2:07 a.m.