tests/testthat/test-path.R

test_that("path", {
  paths <- matrix(1:12 - 1, ncol=3, byrow=FALSE)
  expect_equal(path(3, paths), list(3:1))
})
beerda/hexmatrix documentation built on May 2, 2021, 4:15 a.m.