tests/testthat/test-ht_reduction.R

test_that("ht_reduction(GHG=0.25, GLG=1.4, HELP=15, landuse=1) results in previously created object.", {
  expect_equal(ht_reduction(GHG=0.25, GLG=1.4, HELP=15, landuse=1), chk_red_gras)
})

test_that("ht_reduction(GHG=0.25, GLG=1.4, HELP=15, landuse=2) results in previously created object.", {
  expect_equal(ht_reduction(GHG=0.25, GLG=1.4, HELP=15, landuse=2), chk_red_bouw)
})
KeesVanImmerzeel/helptabel documentation built on Sept. 23, 2020, 11:33 a.m.