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)))
})

Try the splatter package in your browser

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

splatter documentation built on Dec. 3, 2020, 2:01 a.m.