test_that("the sequence generates correctly", {
ff <- forest_fire(200)
ff <- c(head(ff, 3), tail(ff, 3))
control <- as.integer(c(1, 1, 2, 24, 20, 24))
expect_identical(ff, control)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.