tests/testthat/test_inline_response20098_data_config_details.R

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

context("Test InlineResponse20098DataConfigDetails")

model.instance <- InlineResponse20098DataConfigDetails$new()

test_that("configId", {
  # tests for the property `configId` (integer)
  # Mining ID

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

test_that("poolUsername", {
  # tests for the property `poolUsername` (character)
  # Transfer out of subaccount

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

test_that("toPoolUsername", {
  # tests for the property `toPoolUsername` (character)
  # Transfer into subaccount

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

test_that("algoName", {
  # tests for the property `algoName` (character)
  # Transfer algorithm

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

test_that("hashRate", {
  # tests for the property `hashRate` (integer)
  # Transferred Hashrate quantity

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

test_that("startDay", {
  # tests for the property `startDay` (integer)
  # Start date

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

test_that("endDay", {
  # tests for the property `endDay` (integer)
  # End date

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

test_that("status", {
  # tests for the property `status` (integer)
  # 0 Processing, 1:Cancelled, 2:Terminated 

  # uncomment below to test the property
  #expect_equal(model.instance$`status`, "EXPECTED_RESULT")
})
grahamjwhite/binanceRapi documentation built on Nov. 22, 2022, 9:37 p.m.