tests/testthat/test-decode_country.R

context("test-decode_country.R")

test_that(".decode_country", {
  expect_equal(.decode_country("Australia"),
               "AUS")
  expect_equal(.decode_country(c("Australia", "United Kingdom")),
               c("AUS", "GBR"))
})
HughParsonage/Census2016.spec documentation built on July 16, 2022, 11:40 p.m.