tests/testthat/test-kersplat-simulate.R

context("Kersplat simulations")

test_that("kersplatSimulate output is valid", {
    skip_if_not_installed("igraph")
    test.params <- newKersplatParams()
    expect_true(validObject(kersplatSimulate(test.params)))
})
Oshlack/splatter documentation built on May 8, 2024, 5:33 a.m.