tests/testthat/test-segmentation_functions.R

test_that("sky_grid_segmentation() works", {
  z <- zenith_image(1000, lens())
  a <- azimuth_image(z)
  expect_equal(max(sky_grid_segmentation(z, a, 10)[], na.rm = TRUE),
               36009)
})

Try the rcaiman package in your browser

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

rcaiman documentation built on Nov. 15, 2023, 1:08 a.m.