PY2R/tests/test-wbt_ceil.R

context("wbt_ceil")

test_that("Returns the smallest (closest to negative infinity) value that is greater than or equal to the values in a raster", {

  skip_on_cran()
  skip_if_not(check_whitebox_binary())
  dem <- sample_dem_data(); skip_if(dem == "")
  ret <- wbt_ceil(input = dem, output = "output.tif")
  expect_match(ret, "Elapsed Time")

})
giswqs/whiteboxR documentation built on Feb. 13, 2024, 6:16 p.m.