tests/testthat/test_my_trade.R

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

context("Test MyTrade")

model.instance <- MyTrade$new()

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

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

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

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

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

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

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

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

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

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

test_that("qty", {
  # tests for the property `qty` (character)
  # Amount of base asset

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

test_that("quoteQty", {
  # tests for the property `quoteQty` (character)
  # Amount of quote asset

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

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

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

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

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

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

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

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

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

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

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

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

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