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