context("pow-test.R")
test_that("pow works", {
expect_equal(pow(2, 2), 4)
expect_equal(pow(2, 3), 8)
expect_error(pow("kot", 3))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.