tests/testthat/test-util.R

test_that("colrow2dirpos() converts col and row to direction and pos", {
  expect_equal(colrow2dirpos(col = 3, row = NULL),
               list(direction = "v", pos = 3))
})
Rindrics/colrectr documentation built on Nov. 12, 2021, 1:01 p.m.