tests/testthat/test_sapi_v1_bswap_pool_configure_liquidity.R

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

context("Test SapiV1BswapPoolConfigureLiquidity")

model.instance <- SapiV1BswapPoolConfigureLiquidity$new()

test_that("constantA", {
  # tests for the property `constantA` (integer)
  # \&quot;NA\&quot; if pool is an innovation pool

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

test_that("minRedeemShare", {
  # tests for the property `minRedeemShare` (numeric)

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

test_that("slippageTolerance", {
  # tests for the property `slippageTolerance` (numeric)
  # The swap proceeds only when the slippage is within the set range

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