tests/testthat/test-SimpleParams.R

context("SimpleParams")

params <- newSimpleParams()

test_that("printing works", {
    expect_output(show(params), "A Params object of class SimpleParams")
})

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.