tests/testthat/test-surface-data.R

test_that("pth_surface_data works", {

  sfc <- pth_new_surface("#0000FF", transformer = pth_to_cieluv)

  expect_snapshot(pth_surface_data(sfc, step = 10))

})
ijlyttle/colorpath documentation built on Sept. 13, 2022, 7:44 p.m.