# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test Trade")
model.instance <- Trade$new()
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("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("time", {
# tests for the property `time` (integer)
# Trade executed timestamp, as same as `T` in the stream
# uncomment below to test the property
#expect_equal(model.instance$`time`, "EXPECTED_RESULT")
})
test_that("isBuyerMaker", {
# tests for the property `isBuyerMaker` (character)
# uncomment below to test the property
#expect_equal(model.instance$`isBuyerMaker`, "EXPECTED_RESULT")
})
test_that("isBestMatch", {
# tests for the property `isBestMatch` (character)
# uncomment below to test the property
#expect_equal(model.instance$`isBestMatch`, "EXPECTED_RESULT")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.