Nothing
library(testthat)
library(CNAIM)
context("current health")
# TODO: test more parameter combinations
test_that("current_health", {
expect_equal(current_health(2, 3), 6)
expect_equal(current_health(2, 3, reliability_factor = 20), 10)
expect_equal(current_health(200, 300), 10)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.