def METHOD_NAME(self):
    t0 = abm.TimePoint(0)
    sim = abm.Simulation(t0)
    world = sim.world
    home_id = world.add_location(abm.LocationType.Home)
    social_event_id = world.add_location(abm.LocationType.SocialEvent)
    p1 = world.add_person(
        home_id, abm.AgeGroup.Age15to34)
    p2 = world.add_person(
        social_event_id, abm.AgeGroup.Age80plus)
    # check persons
    self.assertEqual(len(world.persons), 2)
    self.assertEqual(p1.age, abm.AgeGroup.Age15to34)
    self.assertEqual(p1.location.index, 1)
    self.assertEqual(world.persons[0], p1)
    self.assertEqual(world.persons[1], p2)