test_that("this will return TRUE", {
expect_true(is_even(10))
})
test_that("this will return FALSE", {
expect_false(is_even(11))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.