tests/testthat/test-dk_pct_to_num_half_life.R

context("tests for dk_pct_to_num_half_life")

test_that("93.75% gone", {
  expect_equal(signif(
    dk_pct_to_num_half_life(93.75),
    4
  ), 4.000)
})

Try the radsafer package in your browser

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

radsafer documentation built on July 26, 2023, 6:03 p.m.