tests/testthat/test-firi_index.R

context("test-firi_index.R")

test_that("fail if ins or glu are longer than 1", {
  expect_error(firi_index(
    glu = 1,
    ins = c(1, 2)
  ))
})
jcpsantiago/ISIcalc documentation built on May 18, 2019, 10:26 p.m.