tests/testthat/test-build_for_geographies.R

test_that("no error checking on this one", {
    expect_equal(
        build_for_geographies("tract",
                              state = 55,
                              county = 101,
                              foo = "",
                              barf = NULL,
                              "HOO"),
        list(`for` = "tract:55,101,,,HOO")
    )
})

test_that("a single input works", {
    expect_equal(
        build_for_geographies("state"),
        list(`for` = "state:*")
    )
})
higherX4Racine/hercacstables documentation built on Jan. 15, 2025, 9:58 p.m.