tests/testthat/test_StockEvent.R

context("StockEvent setters (class unions)")

testthat::test_that("setStockGraph", {
  testthat::expect_error(setStockGraph(.Object = stockEvent()))
  testthat::expect_error(setStockGraph(.Object = stockEvent(), stockGraph = stockGraph_obj))
})
datastorm-open/rAmCharts documentation built on Oct. 4, 2022, 7:07 p.m.