library(RUnit)
test.sum <- function(){
checkIdentical(my_sum(2,3), 5)
checkIdentical(my_sum_broken(2,3), 5)
}
test.dif <- function(){
checkIdentical(my_dif(2,3), -1)
checkIdentical(my_dif_broken(2,3), -1)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.