tests/testthat/test-get_ff_ind.R

library(dplyr, warn.conflicts = FALSE)

test_that("get_ff_ind(5) works", {
  expect_equal(get_ff_ind(5) %>%
                   select("ff_ind") %>%
                   distinct() %>%
                   pull() %>%
                   length(), 4)
})
iangow/farr documentation built on Feb. 13, 2025, 2:53 p.m.