context('attacks')
# error ------------------------------------------------------------------------
# return -----------------------------------------------------------------------
test_that('to_attack() returns a numeric', {
rr <- to_attack(n = 1, skill = 3)
expect_true(is(rr, 'numeric'))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.