tests/testthat/test_lss.R

context("Length of the list that is returned by the lss() function.")

test_that("test if lss() returns a list of length 4", {
    expect_length(lss(), 7)
})

Try the sglg package in your browser

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

sglg documentation built on Sept. 4, 2022, 9:05 a.m.