tests/testthat/test_search_result_level1.R

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

context("Test SearchResultLevel1")

model.instance <- SearchResultLevel1$new()

test_that("node", {
  # tests for the property `node` (Entity)

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

test_that("relation", {
  # tests for the property `relation` (Neighbor)

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

test_that("matching_addresses", {
  # tests for the property `matching_addresses` (array[Address])

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

test_that("paths", {
  # tests for the property `paths` (array[SearchResultLevel2])
  # Branches to matching entities

  # uncomment below to test the property 
  #expect_equal(model.instance$`paths`, "EXPECTED_RESULT")
})
graphsense/rgraphsense documentation built on Sept. 2, 2022, 1:45 p.m.