Home | History | Annotate | Download | only in test

Lines Matching full:assertequal

72         self.assertEqual(g['a'], 3)
79 self.assertEqual(l['a'], 10)
133 self.assertEqual(m.results, ('z', 12))
141 self.assertEqual(m.results, ('z', list('xyz')))
143 self.assertEqual(m.results, ('z', g))
145 self.assertEqual(m.results, ('z', m))
172 self.assertEqual(d['z'], 12)
195 self.assertEqual(f(5), 0)
204 self.assertEqual(comp_args((1, 2)), (1, 2))
208 self.assertEqual(comp_args((1, 2)), (1, 2))
209 self.assertEqual(comp_args(), (3, 4))
213 self.assertEqual(comp_args(1, (2, 3)), (1, 2, 3))
217 self.assertEqual(comp_args(1, (2, 3)), (1, 2, 3))
218 self.assertEqual(comp_args(), (2, 3, 4))
250 self.assertEqual(co.co_firstlineno, 257)
251 self.assertEqual(co.co_lnotab, '')
260 self.assertEqual(eval("0777"), 511)
261 self.assertEqual(eval("0777L"), 511)
262 self.assertEqual(eval("000777"), 511)
263 self.assertEqual(eval("0xff"), 255)
264 self.assertEqual(eval("0xffL"), 255)
265 self.assertEqual(eval("0XfF"), 255)
266 self.assertEqual(eval("0777."), 777)
267 self.assertEqual(eval("0777.0"), 777)
268 self.assertEqual(eval("000000000000000000000000000000000000000000000000000777e0"), 777)
269 self.assertEqual(eval("0777e1"), 7770)
270 self.assertEqual(eval("0e0"), 0)
271 self.assertEqual(eval("0000E-012"), 0)
272 self.assertEqual(eval("09.5"), 9.5)
273 self.assertEqual(eval("0777j"), 777j)
274 self.assertEqual(eval("00j"), 0j)
275 self.assertEqual(eval("00.0"), 0)
276 self.assertEqual(eval("0e3"), 0)
277 self.assertEqual(eval("090000000000000."), 90000000000000.)
278 self.assertEqual(eval("090000000000000.0000000000000000000000"), 90000000000000.)
279 self.assertEqual(eval("090000000000000e0"), 90000000000000.)
280 self.assertEqual(eval("090000000000000e-0"), 90000000000000.)
281 self.assertEqual(eval("090000000000000j"), 90000000000000j)
282 self.assertEqual(eval("000000000000007"), 7)
283 self.assertEqual(eval("000000000000008."), 8.)
284 self.assertEqual(eval("000000000000009."), 9.)
285 self.assertEqual(eval("0b101010"), 42)
286 self.assertEqual(eval("-0b000000000010"), -2)
287 self.assertEqual(eval("0o777"), 511)
288 self.assertEqual(eval("-0o0000010"), -8)
289 self.assertEqual(eval("020000000000.0"), 20000000000.0)
290 self.assertEqual(eval("037777777777e0"), 37777777777.0)
291 self.assertEqual(eval("01000000000000000000000.0"),
299 self.assertEqual(eval(all_one_bits), 4294967295L)
300 self.assertEqual(eval("-" + all_one_bits), -4294967295L)
304 self.assertEqual(eval(all_one_bits), 18446744073709551615L)
305 self.assertEqual(eval("-" + all_one_bits), -18446744073709551615L)
331 self.assertEqual(i, 1)
332 self.assertEqual(j, -1)
425 self.assertEqual(eval(code), u'\xc2\xa4')
427 self.assertEqual(eval(code), u'\xc2\xa4')
429 self.assertEqual(eval(code), u'\xc2\xa4')
431 self.assertEqual(eval(code), u'\xa4')
433 self.assertEqual(eval(code), test_support.u(r'\xc2\u20ac'))
435 self.assertEqual(eval(code), u'# -*- coding: utf-8 -*-\n\xc2\xa4')
454 self.assertEqual(d[1], 1)
456 self.assertEqual(d[1], 2)
461 self.assertEqual(d[1, 1], 1)
463 assertEqual(d[1, 1], 2)
468 self.assertEqual(d[1:2], 1)
470 self.assertEqual(d[1:2], 2)
475 self.assertEqual(d[1:2, 1:2], 1)
477 self.assertEqual(d[1:2, 1:2], 2)
482 self.assertEqual(d[1:2:3], 1)
484 self.assertEqual(d[1:2:3], 2)
489 self.assertEqual(d[1:2:3, 1:2:3], 1)
491 self.assertEqual(d[1:2:3, 1:2:3], 2)
496 self.assertEqual(d[...], 1)
498 self.assertEqual(d[...], 2)
503 self.assertEqual(d[..., ...], 1)
505 self.assertEqual(d[..., ...], 2)
545 self.assertEqual(co1, co2)
547 self.assertEqual(co2.co_filename, '%s3' % fname)
583 self.assertEqual(eval(code), 23)
585 self.assertEqual(eval(code), 23)
587 self.assertEqual(eval(code), 23)
649 self.assertEqual(repr(f1()), repr(const))
669 self.assertEqual(repr(f1()), repr(const1))
670 self.assertEqual(repr(f2()), repr(const2))
682 self.assertEqual(repr(f1()), repr(+0.0j))
683 self.assertEqual(repr(f2()), repr(-0.0j))