/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_complex.py | 461 self.assertEqual(repr(complex(1., INF)), "(1+infj)")
462 self.assertEqual(repr(complex(1., -INF)), "(1-infj)")
464 self.assertEqual(repr(complex(-INF, INF)), "(-inf+infj)")
469 self.assertEqual(repr(complex(0, INF)), "infj")
470 self.assertEqual(repr(complex(0, -INF)), "-infj")
532 infj, nanj = complex(0.0, inf), complex(0.0, nan)
631 self.assertEqual('{0:f}'.format(complex(INF, INF)), 'inf+infj')
632 self.assertEqual('{0:F}'.format(complex(INF, INF)), 'INF+INFj')
633 self.assertEqual('{0:f}'.format(complex(INF, -INF)), 'inf-infj')
634 self.assertEqual('{0:F}'.format(complex(INF, -INF)), 'INF-INFj')
[all...] |
/external/python/cpython2/Lib/test/ |
test_complex.py | 466 self.assertEqual(repr(complex(1., INF)), "(1+infj)") 467 self.assertEqual(repr(complex(1., -INF)), "(1-infj)") 469 self.assertEqual(repr(complex(-INF, INF)), "(-inf+infj)") 474 self.assertEqual(repr(complex(0, INF)), "infj") 475 self.assertEqual(repr(complex(0, -INF)), "-infj") 537 infj, nanj = complex(0.0, inf), complex(0.0, nan) 636 self.assertEqual('{0:f}'.format(complex(INF, INF)), 'inf+infj') 637 self.assertEqual('{0:F}'.format(complex(INF, INF)), 'INF+INFj') 638 self.assertEqual('{0:f}'.format(complex(INF, -INF)), 'inf-infj') 639 self.assertEqual('{0:F}'.format(complex(INF, -INF)), 'INF-INFj') [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_complex.py | 461 self.assertEqual(repr(complex(1., INF)), "(1+infj)") 462 self.assertEqual(repr(complex(1., -INF)), "(1-infj)") 464 self.assertEqual(repr(complex(-INF, INF)), "(-inf+infj)") 469 self.assertEqual(repr(complex(0, INF)), "infj") 470 self.assertEqual(repr(complex(0, -INF)), "-infj") 532 infj, nanj = complex(0.0, inf), complex(0.0, nan) 631 self.assertEqual('{0:f}'.format(complex(INF, INF)), 'inf+infj') 632 self.assertEqual('{0:F}'.format(complex(INF, INF)), 'INF+INFj') 633 self.assertEqual('{0:f}'.format(complex(INF, -INF)), 'inf-infj') 634 self.assertEqual('{0:F}'.format(complex(INF, -INF)), 'INF-INFj') [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_complex.py | 461 self.assertEqual(repr(complex(1., INF)), "(1+infj)") 462 self.assertEqual(repr(complex(1., -INF)), "(1-infj)") 464 self.assertEqual(repr(complex(-INF, INF)), "(-inf+infj)") 469 self.assertEqual(repr(complex(0, INF)), "infj") 470 self.assertEqual(repr(complex(0, -INF)), "-infj") 532 infj, nanj = complex(0.0, inf), complex(0.0, nan) 631 self.assertEqual('{0:f}'.format(complex(INF, INF)), 'inf+infj') 632 self.assertEqual('{0:F}'.format(complex(INF, INF)), 'INF+INFj') 633 self.assertEqual('{0:f}'.format(complex(INF, -INF)), 'inf-infj') 634 self.assertEqual('{0:F}'.format(complex(INF, -INF)), 'INF-INFj') [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_complex.py | 461 self.assertEqual(repr(complex(1., INF)), "(1+infj)") 462 self.assertEqual(repr(complex(1., -INF)), "(1-infj)") 464 self.assertEqual(repr(complex(-INF, INF)), "(-inf+infj)") 469 self.assertEqual(repr(complex(0, INF)), "infj") 470 self.assertEqual(repr(complex(0, -INF)), "-infj") 532 infj, nanj = complex(0.0, inf), complex(0.0, nan) 631 self.assertEqual('{0:f}'.format(complex(INF, INF)), 'inf+infj') 632 self.assertEqual('{0:F}'.format(complex(INF, INF)), 'INF+INFj') 633 self.assertEqual('{0:f}'.format(complex(INF, -INF)), 'inf-infj') 634 self.assertEqual('{0:F}'.format(complex(INF, -INF)), 'INF-INFj') [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_complex.py | 461 self.assertEqual(repr(complex(1., INF)), "(1+infj)") 462 self.assertEqual(repr(complex(1., -INF)), "(1-infj)") 464 self.assertEqual(repr(complex(-INF, INF)), "(-inf+infj)") 469 self.assertEqual(repr(complex(0, INF)), "infj") 470 self.assertEqual(repr(complex(0, -INF)), "-infj") 532 infj, nanj = complex(0.0, inf), complex(0.0, nan) 631 self.assertEqual('{0:f}'.format(complex(INF, INF)), 'inf+infj') 632 self.assertEqual('{0:F}'.format(complex(INF, INF)), 'INF+INFj') 633 self.assertEqual('{0:f}'.format(complex(INF, -INF)), 'inf-infj') 634 self.assertEqual('{0:F}'.format(complex(INF, -INF)), 'INF-INFj') [all...] |