tests/testthat/test-GetRowCol.R

test_that("row and column retrival works", {
  # Assumes that the elements of the matrix are filled by column (byrow =
  # FALSE), which is the default
  expect_equal(GetRowCol(6, dim1 = 3, dim2 = 3), c(3, 2))
})

Try the ICvectorfields package in your browser

Any scripts or data that you put into this service are public.

ICvectorfields documentation built on March 18, 2022, 7:34 p.m.