tests/testthat/test_block.R

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

context("Test Block")

model.instance <- Block$new()

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

  # uncomment below to test the property 
  #expect_equal(model.instance$`block_hash`, "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("no_txs", {
  # tests for the property `no_txs` (integer)

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

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

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