: \n Africa: 48 - Latin America: 38 - Asiatic Region: 32 - Western Europe: 26 - Eastern Europe: 23 - Middle East: 15 - Pacific Region: 10 - Northern America: 2 - Africa/Middle East (combined region): 1 Test whether each answer
(trajectory)
| 192 | assert outliers == 0 |
| 193 | |
| 194 | def test_task_7(trajectory): |
| 195 | ''' |
| 196 | <Region>:<count>\n |
| 197 | Africa: 48 |
| 198 | - Latin America: 38 |
| 199 | - Asiatic Region: 32 |
| 200 | - Western Europe: 26 |
| 201 | - Eastern Europe: 23 |
| 202 | - Middle East: 15 |
| 203 | - Pacific Region: 10 |
| 204 | - Northern America: 2 |
| 205 | - Africa/Middle East (combined region): 1 |
| 206 | Test whether each answer |
| 207 | ''' |
| 208 | final_answer=trajectory[-1]['content'] |
| 209 | answer_list=["48","38","32","26","23","15","10","2","1"] |
| 210 | for ans in answer_list: |
| 211 | if ans not in final_answer: |
| 212 | raise ValueError |
| 213 | |
| 214 | |
| 215 | def test_task_8(trajectory): |
nothing calls this directly
no outgoing calls
no test coverage detected