tests/testthat/test_inline_response20097_data_other_profits.R

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

context("Test InlineResponse20097DataOtherProfits")

model.instance <- InlineResponse20097DataOtherProfits$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("coinName", {
  # tests for the property `coinName` (character)
  # Coin Name

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

test_that("type", {
  # tests for the property `type` (integer)
  # 1: Merged Mining, 2: Activity Bonus, 3:Rebate 4:Smart Pool 6:Income Transfer 7:Pool Savings

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

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

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

test_that("status", {
  # tests for the property `status` (integer)
  # 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.