context("rotating a matrix")
set.seed(2020)
w = 10
h = 5
rgbArray = array(data = runif(w * h * 3),
dim = c(w, h, 3))
test_that("test the rotate function", {
expect_length(wiad:::rotate(rgbArray), w * h * 3)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.