def test_intersection(self): self.assertEqual(graph.intersection([1, 2], [2, 3]), [2])
def test_intersection(self): self.assertEqual(graph.intersection([1,2],[2,3]), [2])