# within test-f_to_c.R
test_that("message: f_to_c works mathmatically", { # message to myself
expect_equal(f_to_c(32), 0) # expect the two things to be equal
expect_equal(f_to_c(212), 100)
})
test_that("non-numeric input throws error", {
expect_error(f_to_c("a string")) # expect error
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.