tests/testthat/test-acidbase.R

context("acid base")

test_that("Henderson Haselbalch", {
  expect_equal(henderson_hasselbalch(25, 40), 7.4, tolerance = 0.01)
})

Try the physiology package in your browser

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

physiology documentation built on May 2, 2019, 8:58 a.m.