tests/testthat/test_OEIS_formula.R

# A126669:		Erroneous version of A126668.
id_no_formula <- "A126669"

test_that("OEIS_formula returns NULL in a sequence without formula", {
  testthat::expect_equal(id_no_formula %>%
                           OEIS_formula, NULL)
})
EnriquePH/OEIS.R documentation built on March 15, 2023, 8:01 a.m.