tests/testthat/test-hello.R

context("Just testing printer.")

test_that("Wheter printer gives us the same output",{

  set.seed(1)

  res = hello(x = "Paul")

  expect_that(length(res),equals(1))

})

?expect_that
zanetti-marco/tester documentation built on May 17, 2020, 5:32 p.m.