예제 #1
0
 def testcontains_iteslf(self):
     assert contains([1, 2, 3], [1, 2, 3])
예제 #2
0
 def testcontains_middle_seq(self):
     assert contains([1, 2, 3, 4, 5], [3, 4])
예제 #3
0
 def testcontains_oversized_seq(self):
     assert contains([1, 2, 3, 4, 4], [1, 2, 3, 4])
예제 #4
0
 def test_smoketest(self):
     assert contains([1, 2, 3, 4], [1, 2])
예제 #5
0
 def testcontains_end_seq(self):
     assert contains([1, 2, 3, 4], [3, 4])
 def testcontains_iteslf(self):
     assert contains([1, 2, 3], [1, 2, 3])
 def testcontains_oversized_seq(self):
     assert contains([1, 2, 3, 4, 4], [1, 2, 3, 4])
 def testcontains_middle_seq(self):
     assert contains([1, 2, 3, 4, 5], [3, 4])
 def testcontains_end_seq(self):
     assert contains([1, 2, 3, 4], [3, 4])
 def test_smoketest(self):
     assert contains([1, 2, 3, 4], [1, 2])