## test cstring encoding/decoding
context("cstring")
test_that("encoding and decoding are inverses", {
samp = "iamcstring"
expect_that(decode_cstring(encode_cstring(samp)),
equals(samp))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.