def test_agent_pid_4_complex_tour(test_activities, test_attributes): population = trip_based_travel_diary_read(test_activities, test_attributes) acts = [a.act for a in population.households[1].people[4].activities] assert acts == ['home', 'work', 'work', 'work', 'work', 'home']
def test_agent_pid_3_tour(test_activities, test_attributes): population = trip_based_travel_diary_read(test_activities, test_attributes) acts = [a.act for a in population.households['1'].people['3'].activities] print(acts) assert acts == ['home', 'work', 'shop', 'work', 'home']
def test_load(test_activities, test_attributes): population = trip_based_travel_diary_read(test_activities, test_attributes) assert population
def test_agent_pid_1_simple_tour(test_activities, test_attributes): population = trip_based_travel_diary_read(test_activities, test_attributes) acts = [a.act for a in population.households['0'].people['1'].activities] assert acts == ['home', 'work', 'home', 'other', 'home']