Home | History | Annotate | Download | only in intltest

Lines Matching refs:expect2

1158     expect2(f, (int32_t)123456789L, "12,34,56,789");
1164 expect2(f, (int32_t)123456789L, "12,3456,789");
1231 // expect2(*fmt, 1.0, CharsToUnicodeString("Re.\\u00A01.00"));
1234 // expect2(*fmt, 12345678.0, CharsToUnicodeString("Rs.\\u00A01,23,45,678.00"));
1235 // expect2(*fmt, 0.5, CharsToUnicodeString("Rs.\\u00A00.50"));
1236 // expect2(*fmt, -1.0, CharsToUnicodeString("-Re.\\u00A01.00"));
1237 // expect2(*fmt, -10.0, CharsToUnicodeString("-Rs.\\u00A010.00"));
1268 expect2(fmt1, n, "1.234E3");
1269 expect2(fmt2, n, "1.234E+3");
1333 expect2(NumberFormat::createScientificInstance(status),
1338 expect2(new DecimalFormat("#E0", US, status),
1344 expect2(NumberFormat::createScientificInstance(Locale::getUS(), status),
1353 expect2(new DecimalFormat("##0.####E0", US, status),
1356 expect2(NumberFormat::createScientificInstance(Locale::getFrance(), status),
1362 expect2(new DecimalFormat("##0.####E0", US, status),
1368 expect2(new DecimalFormat(".###E0", US, status),
1392 expect2(new DecimalFormat("#E0", US, status),
1394 expect2(new DecimalFormat("##E0", US, status),
1396 expect2(new DecimalFormat("####E0", US, status),
1420 expect2(new DecimalFormat("###E0", US, status),
1422 expect2(new DecimalFormat("###E0", US, status),
1424 expect2(new DecimalFormat("###E0", US, status),
1426 expect2(new DecimalFormat("###E0", US, status),
1428 expect2(new DecimalFormat("###E0", US, status),
1430 expect2(new DecimalFormat("###E0", US, status),
1432 expect2(new DecimalFormat("###E0", US, status),
1434 expect2(new DecimalFormat("###E0", US, status),
1436 expect2(new DecimalFormat("###E0", US, status),
1447 expect2(new DecimalFormat("0.#E+00", US, status),
1449 expect2(new DecimalFormat("0.#E+00", US, status),
1461 expect2(new DecimalFormat("*^##.##", US, status),
1463 expect2(new DecimalFormat("*^##.##", US, status),
1465 expect2(new DecimalFormat("##0.0####E0*_ 'g-m/s^2'", US, status),
1469 expect2(new DecimalFormat("##0.0####*_ 'g-m/s^2'", US, status),
1476 expect2(new DecimalFormat(formatStr, US, status),
1478 expect2(new DecimalFormat(formatStr, US, status),
1480 expect2(new DecimalFormat(formatStr, US, status),
1482 expect2(new DecimalFormat(formatStr, US, status),
1484 expect2(new DecimalFormat(formatStr, US, status),
1486 expect2(new DecimalFormat(formatStr, US, status),
1488 expect2(new DecimalFormat(formatStr, US, status),
1490 expect2(new DecimalFormat(formatStr, US, status),
1493 expect2(new DecimalFormat(formatStr, US, status),
1495 expect2(new DecimalFormat(formatStr, US, status),
1497 expect2(new DecimalFormat(formatStr, US, status),
1499 expect2(new DecimalFormat(formatStr, US, status),
1501 expect2(new DecimalFormat(formatStr, US, status),
1503 expect2(new DecimalFormat(formatStr, US, status),
1505 expect2(new DecimalFormat(formatStr, US, status),
1507 expect2(new DecimalFormat(formatStr, US, status),
1513 expect2(new DecimalFormat(formatStr2, US, status),
1515 expect2(new DecimalFormat(formatStr2, US, status),
1517 expect2(new DecimalFormat(formatStr2, US, status),
1519 expect2(new DecimalFormat(formatStr2, US, status),
1521 expect2(new DecimalFormat(formatStr2, US, status),
1523 expect2(new DecimalFormat(formatStr2, US, status),
1525 expect2(new DecimalFormat(formatStr2, US, status),
1527 expect2(new DecimalFormat(formatStr2, US, status),
1530 expect2(new DecimalFormat(formatStr2, US, status),
1532 expect2(new DecimalFormat(formatStr2, US, status),
1534 expect2(new DecimalFormat(formatStr2, US, status),
1536 expect2(new DecimalFormat(formatStr2, US, status),
1538 expect2(new DecimalFormat(formatStr2, US, status),
1540 expect2(new DecimalFormat(formatStr2, US, status),
1542 expect2(new DecimalFormat(formatStr2, US, status),
1544 expect2(new DecimalFormat(formatStr2, US, status),
1647 expect2(new DecimalFormat(patternStr, custom, status),
1651 expect2(new DecimalFormat("*^##.##", custom, status),
1654 expect2(new DecimalFormat("##.##", custom, status),
1657 expect2(new DecimalFormat("##0.0####E0 'g-m/s^2'", custom, status),
1663 expect2(new DecimalFormat("##0.0#### 'g-m/s^2'", custom, status),
1680 expect2(new DecimalFormat("##0.000", custom, status),
1690 expect2(new DecimalFormat(patternStr, custom, status),
1698 expect2(new DecimalFormat(patternStr, custom, status),
2424 void NumberFormatTest::expect2(NumberFormat& fmt, const Formattable& n, const UnicodeString& str) {
2430 void NumberFormatTest::expect2(NumberFormat* fmt, const Formattable& n,
2436 expect2(*fmt, n, exp);
3028 //expect2(df, U_INT64_MAX, Int64ToUnicodeString(-U_INT64_MAX));
3029 //expect2(df, U_INT64_MIN, UnicodeString(Int64ToUnicodeString(U_INT64_MIN), 1));
3030 //expect2(df, U_INT64_MAX / 2, Int64ToUnicodeString(-(U_INT64_MAX / 2)));
3031 //expect2(df, U_INT64_MIN / 2, Int64ToUnicodeString(-(U_INT64_MIN / 2)));
3034 //expect2(df, BigDecimal.valueOf(Long.MAX_VALUE), BigDecimal.valueOf(Long.MAX_VALUE).negate().toString());
3035 //expect2(df, BigDecimal.valueOf(Long.MIN_VALUE), BigDecimal.valueOf(Long.MIN_VALUE).negate().toString());
3036 //expect2(df, java.math.BigDecimal.valueOf(Long.MAX_VALUE), java.math.BigDecimal.valueOf(Long.MAX_VALUE).negate().toString());
3037 //expect2(df, java.math.BigDecimal.valueOf(Long.MIN_VALUE), java.math.BigDecimal.valueOf(Long.MIN_VALUE).negate().toString());
3153 expect2(*fmt,item->value,CharsToUnicodeString(item->expectedResult));
7200 expect2(fmt, (Formattable)((double)1234.56), numstr);