Home
last modified time | relevance | path

Searched refs:checkequal (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dstring_tests.py49 def checkequal(self, result, object, methodname, *args): member in CommonTest
93 self.checkequal(' hello ', ' hello ', 'capitalize')
94 self.checkequal('Hello ', 'Hello ','capitalize')
95 self.checkequal('Hello ', 'hello ','capitalize')
96 self.checkequal('Aaaa', 'aaaa', 'capitalize')
97 self.checkequal('Aaaa', 'AaAa', 'capitalize')
102 self.checkequal(3, 'aaa', 'count', 'a')
103 self.checkequal(0, 'aaa', 'count', 'b')
104 self.checkequal(3, 'aaa', 'count', 'a')
105 self.checkequal(0, 'aaa', 'count', 'b')
[all …]
Dtest_string.py12 def checkequal(self, result, object, methodname, *args): member in StringTest
33 self.checkequal('a b c d', ['a', 'b', 'c', 'd'], 'join', ' ')
34 self.checkequal('abcd', ('a', 'b', 'c', 'd'), 'join', '')
35 self.checkequal('w x y z', string_tests.Sequence(), 'join', ' ')
36 self.checkequal('abc', ('abc',), 'join', 'a')
37 self.checkequal('z', UserList(['z']), 'join', 'a')
39 self.checkequal(unicode('a.b.c'), ['a', 'b', 'c'], 'join', unicode('.'))
40 self.checkequal(unicode('a.b.c'), [unicode('a'), 'b', 'c'], 'join', '.')
41 self.checkequal(unicode('a.b.c'), ['a', unicode('b'), 'c'], 'join', '.')
42 self.checkequal(unicode('a.b.c'), ['a', 'b', unicode('c')], 'join', '.')
[all …]
Dtest_richcmp.py102 def checkequal(self, opname, a, b, expres): member in VectorTest
126 self.checkequal("lt", a, b, [True, True, False, False, False])
127 self.checkequal("le", a, b, [True, True, True, False, False])
128 self.checkequal("eq", a, b, [False, False, True, False, False])
129 self.checkequal("ne", a, b, [True, True, False, True, True ])
130 self.checkequal("gt", a, b, [False, False, False, True, True ])
131 self.checkequal("ge", a, b, [False, False, True, True, True ])
Dtest_userstring.py22 def checkequal(self, result, object, methodname, *args): member in UserStringTest