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))
})
cbiagii/CeTF documentation built on Feb. 1, 2023, 3:19 p.m.