test_that(
"quadratic_formula() errors out when not given a squared term", {
# This should error because of zero-division
expect_error(quadratic_formula(0, 1, 2))
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.