test_that("my_division works", {
expect_equal(my_division(4, 2), 2)
})
test_that("my_division works with real numbers", {
expect_equal(my_division(10, 3),
3.3,
tolerance = 0.1)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.