# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test InlineResponse20095DataWorkerDatas")
model.instance <- InlineResponse20095DataWorkerDatas$new()
test_that("workerId", {
# tests for the property `workerId` (character)
# uncomment below to test the property
#expect_equal(model.instance$`workerId`, "EXPECTED_RESULT")
})
test_that("workerName", {
# tests for the property `workerName` (character)
# uncomment below to test the property
#expect_equal(model.instance$`workerName`, "EXPECTED_RESULT")
})
test_that("status", {
# tests for the property `status` (integer)
# Status:1 valid, 2 invalid, 3 no longer valid
# uncomment below to test the property
#expect_equal(model.instance$`status`, "EXPECTED_RESULT")
})
test_that("hashRate", {
# tests for the property `hashRate` (integer)
# Real-time rate
# uncomment below to test the property
#expect_equal(model.instance$`hashRate`, "EXPECTED_RESULT")
})
test_that("dayHashRate", {
# tests for the property `dayHashRate` (integer)
# 24H Hashrate
# uncomment below to test the property
#expect_equal(model.instance$`dayHashRate`, "EXPECTED_RESULT")
})
test_that("rejectRate", {
# tests for the property `rejectRate` (integer)
# Real-time Rejection Rate
# uncomment below to test the property
#expect_equal(model.instance$`rejectRate`, "EXPECTED_RESULT")
})
test_that("lastShareTime", {
# tests for the property `lastShareTime` (integer)
# Last submission time
# uncomment below to test the property
#expect_equal(model.instance$`lastShareTime`, "EXPECTED_RESULT")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.