tests/testthat/test-get_financial_strength.R

test_that("Financial Strength check", {
  df <- data.frame("symbol" = "AAPL")
  financial_strength <- quant::get_financial_strength(df)
  testthat::expect_equal(dim(financial_strength), c(1,2))
})
OliverHennhoefer/quant documentation built on Sept. 18, 2022, 5:50 p.m.