tests/testthat/test-beta_1.R

library(testthat)
library(CNAIM)

context("Beta 1")

test_that("beta_1", {
  expect_equal(beta_1(10), 0.239789527)
  expect_equal(beta_1(5), 0.479579055)
})

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.