tests/testthat/test-create-world.R

test_that("create-world", {
  create_toy_world()
  BldRes <- world$get("BuildingResidential")
  expect_equal(length(world$entities), 4)
  expect_true(validate_linkages(world))
  checkmate::expect_r6(BldRes$get_owner_object(), "Household")
})
dymium-org/dymiumCore documentation built on July 18, 2021, 5:10 p.m.