tests/testthat/test-extract-fixed.R

test_that("extract_fixed works", {
  expect_snapshot(
    extract_fixed(y ~ x)
    )

  expect_snapshot(
    extract_fixed(y ~ x + z)
    )

  expect_snapshot(
    extract_fixed(y ~ x + z + hts(group))
    )

  expect_snapshot(
    extract_fixed(y ~ x + z + hts(group, area))
    )
})
njtierney/yahtsee documentation built on Feb. 5, 2022, 8:25 p.m.