tests/testthat/test-utils.R

test_that("stopping function works", {
  expect_equal(stopping(c(0.2, 4), 1), FALSE)
  expect_equal(stopping(c(0.2, 0.5), 1), TRUE)
})

Try the DGLMExtPois package in your browser

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

DGLMExtPois documentation built on Sept. 4, 2023, 5:06 p.m.