tests/testthat/test_terra_preference.R

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

context("Test TerraPreference")

model.instance <- TerraPreference$new()

test_that("preferTerra", {
  # tests for the property `preferTerra` (character)
  # When true, prefer Terra UI; when false, prefer Legacy FireCloud UI.

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

test_that("preferTerraLastUpdated", {
  # tests for the property `preferTerraLastUpdated` (integer)
  # Epoch timestamp representing when the Terra Preference was last saved.

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