tests/testthat/test-05-classicBoot.R

test <- estimate_classic(x = indicators.ALL, w = testPSU, replicates = 9)

test_that("output has 136 rows", {
  expect_equal(nrow(test), 136)
})


test_that("output has 10 columns", {
  expect_equal(ncol(test), 10)
})
rapidsurveys/oldr documentation built on April 15, 2024, 11:18 a.m.