tests/testthat/test_tolerance.R

context("tolerance")

test_that('tolerance throws an error when the parameters a, b or are not numerics', {
  expect_error(tolerance("a", 0.5, -0.87))
})

Try the CeTF package in your browser

Any scripts or data that you put into this service are public.

CeTF documentation built on Nov. 25, 2020, 2 a.m.