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 April 27, 2024, 8:20 p.m.