tests/testthat/test-gengrid.R

#
# cmr.grid <- gengrid(dsn = "../testdata")
#
# test_that("produces expected basic output with standard model defaults", {
#
#   out <- c(length(cmr.grid), sum(cmr.grid$polygon_dt$population, na.rm = TRUE))
#   expectation <- c(3, cmr.grid$total_popsize)
#
#   expect_equal(out, expectation)
#
# })
SSA-Statistical-Team-Projects/SAEplus documentation built on Aug. 24, 2022, 11:26 a.m.