tests/testthat/test-track-properties-3d.R

test_that("track.properties.3d works", {
  properties <- track.properties.3d(niclas)
  expect_is(properties, "data.frame")
  expect_equal(any(apply(properties, class, MARGIN = 2) != "numeric"), FALSE)
  expect_equal(colnames(properties), c("x", "y", "z", "a", "g", "t", "l", "d"))
  expect_equal(nrow(properties), nrow(niclas))
})

Try the eRTG3D package in your browser

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

eRTG3D documentation built on March 18, 2022, 6:11 p.m.