tests/testthat/test-anomaly.R

context("anomaly")

test_that("Testing the file anomaly.R", {

  x <- anomaly(r, b, asEFFIS = TRUE)
  expect_true(raster::cellStats(x, max) == 6)

})
ecmwf/caliver documentation built on March 25, 2022, 6:59 a.m.