test_that("add_commentary compliments people with lots of grams", {
correct_result <- "You go, Glen Coco!"
my_result <- add_commentary("Glen Coco", 4)
expect_equal(my_result, correct_result)
})
test_that("give_candygrams works", {
correct_result <- "Two for Taylor Zimmerman."
my_result <- give_candygrams("Taylor Zimmerman", 2)
expect_equal(my_result, correct_result)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.