tests/testthat/test_block_tx.R

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

context("Test BlockTx")

model.instance <- BlockTx$new()

test_that("currency_type", {
  # tests for the property `currency_type` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`currency_type`, "EXPECTED_RESULT")
})

test_that("tx_hash", {
  # tests for the property `tx_hash` (character)
  # Transaction hash

  # uncomment below to test the property 
  #expect_equal(model.instance$`tx_hash`, "EXPECTED_RESULT")
})

test_that("no_inputs", {
  # tests for the property `no_inputs` (integer)

  # uncomment below to test the property 
  #expect_equal(model.instance$`no_inputs`, "EXPECTED_RESULT")
})

test_that("no_outputs", {
  # tests for the property `no_outputs` (integer)

  # uncomment below to test the property 
  #expect_equal(model.instance$`no_outputs`, "EXPECTED_RESULT")
})

test_that("total_input", {
  # tests for the property `total_input` (Values)

  # uncomment below to test the property 
  #expect_equal(model.instance$`total_input`, "EXPECTED_RESULT")
})

test_that("total_output", {
  # tests for the property `total_output` (Values)

  # uncomment below to test the property 
  #expect_equal(model.instance$`total_output`, "EXPECTED_RESULT")
})

test_that("height", {
  # tests for the property `height` (integer)
  # Height

  # uncomment below to test the property 
  #expect_equal(model.instance$`height`, "EXPECTED_RESULT")
})

test_that("timestamp", {
  # tests for the property `timestamp` (integer)
  # Timestamp

  # uncomment below to test the property 
  #expect_equal(model.instance$`timestamp`, "EXPECTED_RESULT")
})

test_that("values", {
  # tests for the property `values` (Values)

  # uncomment below to test the property 
  #expect_equal(model.instance$`values`, "EXPECTED_RESULT")
})
graphsense/rgraphsense documentation built on Sept. 2, 2022, 1:45 p.m.