tests/testthat/test_general_api.R

# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate

context("Test GeneralApi")

api.instance <- GeneralApi$new()

test_that("GetStatistics", {
  # tests for GetStatistics
  # base path: https://api.graphsense.info
  # Get statistics of supported currencies
  # @return [Stats]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})

test_that("Search", {
  # tests for Search
  # base path: https://api.graphsense.info
  # Returns matching addresses, transactions and labels
  # @param q character It can be (the beginning of) an address, a transaction or a label
  # @param currency character The cryptocurrency (e.g., btc) (optional)
  # @param limit integer Maximum number of search results (optional)
  # @return [SearchResult]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})
graphsense/rgraphsense documentation built on Sept. 2, 2022, 1:45 p.m.