tests/testthat/test-cederholm_index.R

context("test-cederholm_index.R")

test_that("warns about length of ins", {
  expect_warning(cederholm_index(
    glu = c(128, 130),
    ins = c(80, 90),
    body_weight = 68
  ))
})
jcpsantiago/ISIcalc documentation built on May 18, 2019, 10:26 p.m.