tests/testthat/live/coinGecko/test_coinGeckoAPI.R

context("[live] CoinGeckoAPI")
setwd("../../../../")
source("R/CoinGeckoAPI.R")


coinGeckoAPI <- init_CoinGeckoAPI()

test_that("can initialize CoinGeckoAPI properly", {
  expect_equal(class(coinGeckoAPI), "list")
})
krzysztofpaliga/rChange documentation built on May 4, 2019, 7:42 p.m.