tests/testthat/test-poisson-expected-J.R

test_that("stable mean", {
  expect_error(getmeanJ(0.0, .01, 1.0))
  expect_error(getmeanJ(2.0, .01, 1.0))
  expect_no_error(getmeanJ(1.0, .01, 1.0))
  expect_no_error(getmeanJ(1.5, .01, 1.0))
  
  
})

Try the bark package in your browser

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

bark documentation built on Oct. 6, 2024, 1:08 a.m.