tests/testthat/test_inline_response200118_data.R

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

context("Test InlineResponse200118Data")

model.instance <- InlineResponse200118Data$new()

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

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

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

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

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

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

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

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

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

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

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

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

test_that("amount", {
  # tests for the property `amount` (character)
  # Quantity (in Crypto)

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

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

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

test_that("unitPrice", {
  # tests for the property `unitPrice` (character)
  # Unit Price (in Fiat)

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

test_that("orderStatus", {
  # tests for the property `orderStatus` (character)
  # PENDING, TRADING, BUYER_PAYED, DISTRIBUTING, COMPLETED, IN_APPEAL, CANCELLED, CANCELLED_BY_SYSTEM

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

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

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

test_that("commission", {
  # tests for the property `commission` (character)
  # Transaction Fee (in Crypto)

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

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

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

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

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