tests/testthat/test_inline_response20011_rows.R

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

context("Test InlineResponse20011Rows")

model.instance <- InlineResponse20011Rows$new()

test_that("isolatedSymbol", {
  # tests for the property `isolatedSymbol` (character)
  # Isolated symbol, will not be returned for crossed margin

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

test_that("amount", {
  # tests for the property `amount` (character)
  # Total amount repaid

  # uncomment below to test the property
  #expect_equal(model.instance$`amount`, "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("interest", {
  # tests for the property `interest` (character)
  # Interest repaid

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

test_that("principal", {
  # tests for the property `principal` (character)
  # Principal repaid

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

test_that("status", {
  # tests for the property `status` (character)
  # One of PENDING (pending execution), CONFIRMED (successfully execution), FAILED (execution failed, nothing happened to your account)

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

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

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

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

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