HomeSort by relevance Sort by last modified time
    Searched refs:get_fmt (Results 1 - 3 of 3) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_decimal.py 865 def get_fmt(x, locale, fmt='n'): function in function:DecimalFormatTest.test_n_format
868 self.assertEqual(get_fmt(Decimal('12.7'), en_US), '12.7')
869 self.assertEqual(get_fmt(Decimal('12.7'), fr_FR), '12,7')
870 self.assertEqual(get_fmt(Decimal('12.7'), ru_RU), '12,7')
871 self.assertEqual(get_fmt(Decimal('12.7'), crazy), '1-2&7')
873 self.assertEqual(get_fmt(123456789, en_US), '123,456,789')
874 self.assertEqual(get_fmt(123456789, fr_FR), '123456789')
875 self.assertEqual(get_fmt(123456789, ru_RU), '123 456 789')
876 self.assertEqual(get_fmt(1234567890123, crazy), '123456-78-9012-3')
878 self.assertEqual(get_fmt(123456789, en_US, '.6n'), '1.23457e+8'
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_decimal.py 865 def get_fmt(x, locale, fmt='n'): function in function:DecimalFormatTest.test_n_format
868 self.assertEqual(get_fmt(Decimal('12.7'), en_US), '12.7')
869 self.assertEqual(get_fmt(Decimal('12.7'), fr_FR), '12,7')
870 self.assertEqual(get_fmt(Decimal('12.7'), ru_RU), '12,7')
871 self.assertEqual(get_fmt(Decimal('12.7'), crazy), '1-2&7')
873 self.assertEqual(get_fmt(123456789, en_US), '123,456,789')
874 self.assertEqual(get_fmt(123456789, fr_FR), '123456789')
875 self.assertEqual(get_fmt(123456789, ru_RU), '123 456 789')
876 self.assertEqual(get_fmt(1234567890123, crazy), '123456-78-9012-3')
878 self.assertEqual(get_fmt(123456789, en_US, '.6n'), '1.23457e+8'
    [all...]
  /external/valgrind/main/VEX/priv/
guest_mips_toIR.c 636 static UInt get_fmt(UInt mipsins) function
766 fmt = get_fmt(cins);
    [all...]

Completed in 183 milliseconds