tests/testthat/test-all_fy.R

context("test-all_fy")

test_that("all_fy works", {
  expect_true(all_fy(c("2015-16", "2015-16", "2016-17")))
  expect_false(all_fy(c("2014-16", "2015-16", "2016-17")))
})

Try the fy package in your browser

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

fy documentation built on Sept. 12, 2023, 9:06 a.m.