# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test AggTrade")
model.instance <- AggTrade$new()
test_that("a", {
# tests for the property `a` (integer)
# Aggregate tradeId
# uncomment below to test the property
#expect_equal(model.instance$`a`, "EXPECTED_RESULT")
})
test_that("p", {
# tests for the property `p` (character)
# Price
# uncomment below to test the property
#expect_equal(model.instance$`p`, "EXPECTED_RESULT")
})
test_that("q", {
# tests for the property `q` (character)
# Quantity
# uncomment below to test the property
#expect_equal(model.instance$`q`, "EXPECTED_RESULT")
})
test_that("f", {
# tests for the property `f` (integer)
# First tradeId
# uncomment below to test the property
#expect_equal(model.instance$`f`, "EXPECTED_RESULT")
})
test_that("l", {
# tests for the property `l` (integer)
# Last tradeId
# uncomment below to test the property
#expect_equal(model.instance$`l`, "EXPECTED_RESULT")
})
test_that("T", {
# tests for the property `T` (character)
# Timestamp
# uncomment below to test the property
#expect_equal(model.instance$`T`, "EXPECTED_RESULT")
})
test_that("m", {
# tests for the property `m` (character)
# Was the buyer the maker?
# uncomment below to test the property
#expect_equal(model.instance$`m`, "EXPECTED_RESULT")
})
test_that("M", {
# tests for the property `M` (character)
# Was the trade the best price match?
# uncomment below to test the property
#expect_equal(model.instance$`M`, "EXPECTED_RESULT")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.