tests/testthat/test_current.R

library(usdc)

test_that("Algorand circulation fetches double value", {
  expect_type(fetch_supply_algorand(), "double")
})

test_that("Ethereum circulation fetches double value", {
  expect_type(fetch_supply_ethereum(), "double")
})

test_that("Solana circulation fetches double value", {
  expect_type(fetch_supply_solana(), "double")
})

test_that("Stellar circulation fetches double value", {
  expect_type(fetch_supply_stellar(), "double")
})

Try the usdc package in your browser

Any scripts or data that you put into this service are public.

usdc documentation built on June 21, 2021, 5:07 p.m.