tests/testthat/test_inline_response20096_data_account_profits.R

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

context("Test InlineResponse20096DataAccountProfits")

model.instance <- InlineResponse20096DataAccountProfits$new()

test_that("time", {
  # tests for the property `time` (integer)
  # Mining date

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

test_that("type", {
  # tests for the property `type` (integer)
  # 0:Mining Wallet,5:Mining Address,7:Pool Savings,8:Transferred,31:Income Transfer ,32:Hashrate Resale-Mining Wallet 33:Hashrate Resale-Pool Savings

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

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

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

test_that("transferAmount", {
  # tests for the property `transferAmount` (numeric)
  # Transferred Income

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

test_that("dayHashRate", {
  # tests for the property `dayHashRate` (integer)
  # Daily Hashrate

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

test_that("profitAmount", {
  # tests for the property `profitAmount` (numeric)
  # Earnings Amount

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

test_that("coinName", {
  # tests for the property `coinName` (character)
  # Coin Type

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

test_that("status", {
  # tests for the property `status` (integer)
  # Status:0:Unpaid, 1:Paying  2:Paid

  # 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.