tests/testthat/test_CG_inflators.R

context("CG inflator")

test_that("CG population inflator", {
  expect_gte(CG_population_inflator(from_fy = "2012-13", to_fy = "2013-14"), 1.1)
  expect_gte(CG_population_inflator(from_fy = "2012-13", to_fy = "2016-17"), 1.1)
  expect_lte(CG_inflator(from_fy = "2012-13", to_fy = "2013-14"), 1)
})

Try the grattan package in your browser

Any scripts or data that you put into this service are public.

grattan documentation built on Sept. 4, 2023, 5:08 p.m.