示例#1
0
 def test_tscmp_eq(self):
     assert pypy_tscmp('asd', 'asd', 3, 3)
示例#2
0
 def test_tscmp_nlen(self):
     assert not pypy_tscmp('asd', 'asd', 2, 3)
示例#3
0
 def test_tscmp_neq(self):
     assert not pypy_tscmp('asd', 'qwe', 3, 3)
示例#4
0
 def test_tscmp_len(self):
     assert pypy_tscmp('asdp', 'asdq', 3, 3)
示例#5
0
 def test_tscmp_eq(self):
     assert pypy_tscmp("asd", "asd", 3, 3)
示例#6
0
 def test_tscmp_neq(self):
     assert not pypy_tscmp("asd", "qwe", 3, 3)
示例#7
0
 def test_tscmp_nlen(self):
     assert not pypy_tscmp("asd", "asd", 2, 3)
示例#8
0
 def test_tscmp_len(self):
     assert pypy_tscmp("asdp", "asdq", 3, 3)