Lines Matching refs:expect2
427 expect2(df, 1, u"1.00 "); in Test20186_SpacesAroundSemicolon()
428 expect2(df, -1, u" -1.00"); in Test20186_SpacesAroundSemicolon()
431 expect2(df, 1, u"1.00"); in Test20186_SpacesAroundSemicolon()
432 expect2(df, -1, u"-1.00"); in Test20186_SpacesAroundSemicolon()
435 expect2(df, 1, u"1.00"); in Test20186_SpacesAroundSemicolon()
439 expect2(df, 1, u" 1.00 "); in Test20186_SpacesAroundSemicolon()
440 expect2(df, -1, u" -1.00 "); in Test20186_SpacesAroundSemicolon()
1357 expect2(f, (int32_t)123456789L, "12,34,56,789"); in TestSecondaryGrouping()
1363 expect2(f, (int32_t)123456789L, "12,3456,789"); in TestSecondaryGrouping()
1469 expect2(fmt1, n, "1.234E3"); in TestExponent()
1470 expect2(fmt2, n, "1.234E+3"); in TestExponent()
1534 expect2(NumberFormat::createScientificInstance(status), in TestScientific()
1539 expect2(new DecimalFormat("#E0", US, status), in TestScientific()
1545 expect2(NumberFormat::createScientificInstance(Locale::getUS(), status), in TestScientific()
1554 expect2(new DecimalFormat("##0.####E0", US, status), in TestScientific()
1557 expect2(NumberFormat::createScientificInstance(Locale::getFrance(), status), in TestScientific()
1563 expect2(new DecimalFormat("##0.####E0", US, status), in TestScientific()
1569 expect2(new DecimalFormat(".###E0", US, status), in TestScientific()
1593 expect2(new DecimalFormat("#E0", US, status), in TestScientific()
1595 expect2(new DecimalFormat("##E0", US, status), in TestScientific()
1597 expect2(new DecimalFormat("####E0", US, status), in TestScientific()
1621 expect2(new DecimalFormat("###E0", US, status), in TestScientific()
1623 expect2(new DecimalFormat("###E0", US, status), in TestScientific()
1625 expect2(new DecimalFormat("###E0", US, status), in TestScientific()
1627 expect2(new DecimalFormat("###E0", US, status), in TestScientific()
1629 expect2(new DecimalFormat("###E0", US, status), in TestScientific()
1631 expect2(new DecimalFormat("###E0", US, status), in TestScientific()
1633 expect2(new DecimalFormat("###E0", US, status), in TestScientific()
1635 expect2(new DecimalFormat("###E0", US, status), in TestScientific()
1637 expect2(new DecimalFormat("###E0", US, status), in TestScientific()
1648 expect2(new DecimalFormat("0.#E+00", US, status), in TestScientific()
1650 expect2(new DecimalFormat("0.#E+00", US, status), in TestScientific()
1662 expect2(new DecimalFormat("*^##.##", US, status), in TestPad()
1664 expect2(new DecimalFormat("*^##.##", US, status), in TestPad()
1666 expect2(new DecimalFormat("##0.0####E0*_ 'g-m/s^2'", US, status), in TestPad()
1670 expect2(new DecimalFormat("##0.0####*_ 'g-m/s^2'", US, status), in TestPad()
1677 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1679 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1681 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1683 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1685 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1687 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1689 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1691 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1694 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1696 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1698 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1700 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1702 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1704 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1706 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1708 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1714 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1716 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1718 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1720 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1722 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1724 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1726 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1728 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1731 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1733 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1735 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1737 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1739 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1741 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1743 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1745 expect2(new DecimalFormat(formatStr2, US, status), in TestPad()
1848 expect2(new DecimalFormat(patternStr, custom, status), in TestSurrogateSupport()
1852 expect2(new DecimalFormat("*^##.##", custom, status), in TestSurrogateSupport()
1855 expect2(new DecimalFormat("##.##", custom, status), in TestSurrogateSupport()
1858 expect2(new DecimalFormat("##0.0####E0 'g-m/s^2'", custom, status), in TestSurrogateSupport()
1864 expect2(new DecimalFormat("##0.0#### 'g-m/s^2'", custom, status), in TestSurrogateSupport()
1881 expect2(new DecimalFormat("##0.000", custom, status), in TestSurrogateSupport()
1891 expect2(new DecimalFormat(patternStr, custom, status), in TestSurrogateSupport()
1899 expect2(new DecimalFormat(patternStr, custom, status), in TestSurrogateSupport()
2779 void NumberFormatTest::expect2(NumberFormat& fmt, const Formattable& n, const UnicodeString& str) { in expect2() function in NumberFormatTest
2785 void NumberFormatTest::expect2(NumberFormat* fmt, const Formattable& n, in expect2() function in NumberFormatTest
2791 expect2(*fmt, n, exp); in expect2()
3505 expect2(*fmt,item->value,CharsToUnicodeString(item->expectedResult)); in TestNumberingSystems()
3687 expect2(*df, 1.23, u"\u00A41.23"); in TestMismatchedCurrencyFormatFail()
3689 expect2(*df, 1.23, u"\u20AC1.23"); in TestMismatchedCurrencyFormatFail()
7638 expect2(fmt, (Formattable)((double)1234.56), numstr); in TestCustomCurrencySignAndSeparator()
8854 expect2(df, 100, u"50"); // round-trip test in TestMultiplierWithScale()
9101 expect2(df, -456, u"456.00a∸"); in Test11839()
9102 expect2(df, 456, u"456.00b∔"); in Test11839()
9394 expect2(*df, 1.5, u"1.50 US dollars"); in Test13777_ParseLongNameNonCurrencyMode()