test_that("get_units()", { x <- set_units(1, "g") expect_equal(get_units(x), "g") expect_null(get_units(1)) })
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.