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/IScalc documentation built on May 20, 2019, 9:27 a.m.