コード例 #1
0
 def test_empty_intersection(self):
     list1 = [1, 2, 3, 4]
     list2 = [5, 6]
     assert _intersection(list1, list2) == []
コード例 #2
0
ファイル: unittests-critical.py プロジェクト: KAKSteam/2631GP
 def test_empty_intersection(self):
     list1 = [1,2,3,4]
     list2 = [5,6]
     assert _intersection(list1, list2) == []
コード例 #3
0
 def test_partial_intersection(self):
     list1 = [1, 2, 3, 4]
     list2 = [3, 4, 5, 6]
     assert _intersection(list1, list2) == [3, 4]
コード例 #4
0
ファイル: unittests-critical.py プロジェクト: KAKSteam/2631GP
 def test_partial_intersection(self):
     list1 = [1,2,3,4]
     list2 = [3,4,5,6]
     assert _intersection(list1, list2) == [3,4]