tests/testthat/test_dataset_permission.R

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

context("Test DatasetPermission")

model.instance <- DatasetPermission$new()

test_that("name", {
  # tests for the property `name` (character)
  # the name of the NIH dataset

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

test_that("authorized", {
  # tests for the property `authorized` (character)
  # true if you have access to the dataset, false otherwise

  # uncomment below to test the property 
  #expect_equal(model.instance$`authorized`, "EXPECTED_RESULT")
})
vjcitn/terraClientR documentation built on Dec. 23, 2021, 4:07 p.m.