tests/testthat/test_isolated_margin_account_info_assets.R

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

context("Test IsolatedMarginAccountInfoAssets")

model.instance <- IsolatedMarginAccountInfoAssets$new()

test_that("baseAsset", {
  # tests for the property `baseAsset` (IsolatedMarginAccountInfoBaseAsset)

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

test_that("quoteAsset", {
  # tests for the property `quoteAsset` (IsolatedMarginAccountInfoQuoteAsset)

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

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

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

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

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

test_that("enabled", {
  # tests for the property `enabled` (character)
  # true-enabled, false-disabled

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

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

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

test_that("marginLevelStatus", {
  # tests for the property `marginLevelStatus` (character)
  # \&quot;EXCESSIVE\&quot;, \&quot;NORMAL\&quot;, \&quot;MARGIN_CALL\&quot;, \&quot;PRE_LIQUIDATION\&quot;, \&quot;FORCE_LIQUIDATION\&quot;

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

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

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

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

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

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

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

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

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

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

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