tests/testthat/test_caching.R

context("caching")

test_that("cached binomial returns object as expected", {

    confdt = cacheBinomConfIntervals(200,200,.95)

    expect_is(confdt, "data.table")

})
databio/RPIM documentation built on May 14, 2019, 2:41 p.m.