tests/testthat/test-rbeta_dmp.R

test_that("Check that sampler works",{
  set.seed(99)
  expect_equal(
    rbeta_dmp(n=100,p=0.9,sd=0.01)[1],
    expected = 0.89754822
  )
})

Try the stochLAB package in your browser

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

stochLAB documentation built on Dec. 28, 2022, 1:19 a.m.