tests/testthat/test-matrix_create.R

test_that("The output should be a matrix", {
  string <- c(1,1,1,1,1,1)
  A <- matrix_create(string,2,2)

  expect_equal(class(A), "matrix")
})
lucasbagge/LinAlg4 documentation built on March 15, 2020, 6:43 a.m.