tests/testthat/test_brequet_adj.R

context("data input in method breguet_adj")

test_that("Empty fat mass throws an error", {
  expect_error(.breguet_adj(3.77, 1.6, 0, 2, 0.3))
})

Try the flying package in your browser

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

flying documentation built on Feb. 13, 2020, 5:07 p.m.