tests/testthat/test-simulations.R

test_that("simulate_congeneric has the correct dimension", {
  lambda <- runif(5)
  sigma <- runif(3)
  x <- simulate_congeneric(10, k = 7, lambda = lambda, sigma = sigma)
  expect_equal(dim(x), c(10, 7))
})

Try the alphaci package in your browser

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

alphaci documentation built on May 29, 2024, 8:55 a.m.