tests/testthat/test-rbern.R

test_that("bernoulli rvs can be generated", {
  expect_equal(sum(rbern(10,1)), 10)
})

Try the causact package in your browser

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

causact documentation built on Sept. 8, 2023, 5:46 p.m.