tests/testthat/test-cof.R

library(testthat)
library(CNAIM)

context("consequences of failure")

test_that("cof", {
  expect_equal(cof(1, 2, 3, 4), 10)
})

Try the CNAIM package in your browser

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

CNAIM documentation built on Aug. 31, 2022, 9:13 a.m.