tests/testthat/test_first_last_name_us_race_ethnicity_out.R

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

context("Test FirstLastNameUSRaceEthnicityOut")

model.instance <- FirstLastNameUSRaceEthnicityOut$new()

test_that("id", {
  # tests for the property `id` (character)

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

test_that("first_name", {
  # tests for the property `first_name` (character)

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

test_that("last_name", {
  # tests for the property `last_name` (character)

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

test_that("race_ethnicity_alt", {
  # tests for the property `race_ethnicity_alt` (character)
  # Second most likely US &#39;race&#39;/ethnicity

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

test_that("race_ethnicity", {
  # tests for the property `race_ethnicity` (character)
  # Most likely US &#39;race&#39;/ethnicity

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

test_that("score", {
  # tests for the property `score` (numeric)
  # Compatibility to NamSor_v1 Origin score value

  # uncomment below to test the property 
  #expect_equal(model.instance$`score`, "EXPECTED_RESULT")
})
wing328/namsor-r-client documentation built on May 26, 2019, 7:01 p.m.