def test_empty_intersection(self): list1 = [1, 2, 3, 4] list2 = [5, 6] assert _intersection(list1, list2) == []
def test_empty_intersection(self): list1 = [1,2,3,4] list2 = [5,6] assert _intersection(list1, list2) == []
def test_partial_intersection(self): list1 = [1, 2, 3, 4] list2 = [3, 4, 5, 6] assert _intersection(list1, list2) == [3, 4]
def test_partial_intersection(self): list1 = [1,2,3,4] list2 = [3,4,5,6] assert _intersection(list1, list2) == [3,4]