Nothing
test_that("disordered boundaries throw error", {
expect_error(bounded_niche(1,0))
})
test_that("correct values are returned",{
x1 = 0
x2 = 1
f = bounded_niche(x1, x2)
expect_equal(f(x1 - 1), 0)
expect_equal(f(x2 + 1), 0)
expect_equal(f(mean(c(x1, x2))), 1)
})
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.