tests/testthat/test_ticker.R

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

context("Test Ticker")

model.instance <- Ticker$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("priceChange", {
  # tests for the property `priceChange` (character)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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