tests/testthat/test__add.r

context("add")
test_that("Class check",{
  expect_error(add("7a",5))
})
test_that("Functionalyty",{
  expect_equal(add(7,5),12)
})
rubenjmunoz/Test_tester_test01 documentation built on Sept. 7, 2018, 12:55 a.m.