203
213
self.assertEqual(set(['w', 'q']), graph.heads(['w', 's', 'q']))
204
214
self.assertEqual(set(['z']), graph.heads(['s', 'z']))
206
220
def test_heads_with_ghost(self):
207
221
graph = self.make_known_graph(test_graph.with_ghost)
208
222
self.assertEqual(set(['e', 'g']), graph.heads(['e', 'g']))