context("File R/hello.R")
test_that("hello()", {
expect_equal(hello("Bob"), "Bob")
})
test_that("double()", {
expect_equal(double(10), 10*2)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.