test_that("mod1() works", {
expect_equal(mod1(7, 1), 1)
expect_equal(mod1(7, 7), 7)
expect_equal(mod1(4, 3), 1)
expect_equal(mod1(4, 2), 2)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.