tests/testthat/test_snapshot_futures_data_position.R

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

context("Test SnapshotFuturesDataPosition")

model.instance <- SnapshotFuturesDataPosition$new()

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

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

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

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

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

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

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