# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test ChineseApi")
api.instance <- ChineseApi$new()
test_that("ChineseNameCandidates", {
# tests for ChineseNameCandidates
# base path: https://v2.namsor.com/NamSorAPIv2
# Identify Chinese name candidates, based on the romanized name.
# @param character chinese.surname.latin
# @param character chinese.given.name.latin
# @return [RomanizedNameOut]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
test_that("ChineseNameCandidatesBatch", {
# tests for ChineseNameCandidatesBatch
# base path: https://v2.namsor.com/NamSorAPIv2
# Identify Chinese name candidates, based on the romanized name (firstName = chineseGivenName; lastName=chineseSurname).
# @param BatchFirstLastNameIn batch.first.last.name.in A list of personal Chinese names in LATIN, firstName = chineseGivenName; lastName=chineseSurname (optional)
# @return [BatchNameMatchCandidatesOut]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
test_that("ChineseNameCandidatesGenderBatch", {
# tests for ChineseNameCandidatesGenderBatch
# base path: https://v2.namsor.com/NamSorAPIv2
# Identify Chinese name candidates, based on the romanized name (firstName = chineseGivenName; lastName=chineseSurname).
# @param BatchFirstLastNameIn batch.first.last.name.in A list of personal Chinese names in LATIN, firstName = chineseGivenName; lastName=chineseSurname (optional)
# @return [BatchNameMatchCandidatesOut]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
test_that("ChineseNameGenderCandidates", {
# tests for ChineseNameGenderCandidates
# base path: https://v2.namsor.com/NamSorAPIv2
# Identify Chinese name candidates, based on the romanized name - having a known gender ('male' or 'female')
# @param character chinese.surname.latin
# @param character chinese.given.name.latin
# @param character known.gender
# @return [RomanizedNameOut]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.