timings/fc21f113a48e14c5e37cb41e9f6cad3e59ff783d/grattan/tests/testthat/test_CG_inflators.R

context("CG inflator")

test_that("CG population inflator", {
  expect_gte(grattan:::CG_population_inflator(from_fy = "2012-13", to_fy = "2013-14"), 1.1)
  expect_gte(grattan:::CG_population_inflator(from_fy = "2012-13", to_fy = "2016-17"), 1.1)
  expect_lte(grattan:::CG_inflator(from_fy = "2012-13", to_fy = "2013-14"), 1)
})
HughParsonage/grattan documentation built on April 1, 2024, 4:10 a.m.