library(UnitTestPackage)
context("float reverser")
test_that("floats are reversed correctly",{
expect_equal(reverser(1.234),"432.1")
expect_equal(reverser(12.34),"43.21")
expect_equal(reverser(0.1),"1.0")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.