test_that("Correct response for squared", {
expect_equal(square_val(2), 4)
expect_equal(square_val(4), 16)
expect_equal(square_val(5), 25)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.