示例#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])