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/pcitRif documentation built on Feb. 5, 2023, 9:03 p.m.