320
327
self.assertEqual(set(['a', 'c']), graph.heads(['a', 'c', 'e', 'g']))
321
328
self.assertEqual(set(['a', 'c']), graph.heads(['a', 'c', 'f']))
334
self.assertEqual(set(['e', 'g']), graph.heads(['e', 'g']))
324
341
class TestKnownGraphTopoSort(TestCaseWithKnownGraph):