tests/testthat/test_day.R

context("days")

test_that("day choice is enforced", {

    expect_error(get_diet(day = "1999th"))
    expect_error(get_fped(day = "1999th"))

})

Try the hei package in your browser

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

hei documentation built on Aug. 18, 2017, 1:03 a.m.