tests/testthat/test_snapshot_margin_data.R

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

context("Test SnapshotMarginData")

model.instance <- SnapshotMarginData$new()

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

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

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

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

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

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

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

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

test_that("userAssets", {
  # tests for the property `userAssets` (array[SnapshotMarginDataUserAssets])

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