X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/fd0068a84e9996f225edba706498f6ed413d0673..46f4442e9a5a4f3b98b7c1083586332f6a8a99a4:/icuSources/test/intltest/itrbnfrt.cpp diff --git a/icuSources/test/intltest/itrbnfrt.cpp b/icuSources/test/intltest/itrbnfrt.cpp index ddc5e77b..515b351d 100644 --- a/icuSources/test/intltest/itrbnfrt.cpp +++ b/icuSources/test/intltest/itrbnfrt.cpp @@ -1,6 +1,6 @@ /* ******************************************************************************* - * Copyright (C) 1996-2003, International Business Machines Corporation and * + * Copyright (C) 1996-2006, International Business Machines Corporation and * * others. All Rights Reserved. * ******************************************************************************* */ @@ -42,7 +42,7 @@ void RbnfRoundTripTest::runIndexedTest(int32_t index, UBool exec, const char* &n TESTCASE(8, TestDutchSpelloutRT); TESTCASE(9, TestJapaneseSpelloutRT); TESTCASE(10, TestRussianSpelloutRT); - TESTCASE(11, TestGreekSpelloutRT); + TESTCASE(11, TestPortugueseSpelloutRT); #else TESTCASE(0, TestRBNFDisabled); #endif @@ -253,19 +253,19 @@ RbnfRoundTripTest::TestRussianSpelloutRT() } /** - * Perform an exhaustive round-trip test on the Greek spellout rules + * Perform an exhaustive round-trip test on the Portuguese spellout rules */ void -RbnfRoundTripTest::TestGreekSpelloutRT() +RbnfRoundTripTest::TestPortugueseSpelloutRT() { UErrorCode status = U_ZERO_ERROR; RuleBasedNumberFormat* formatter - = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("el", "GR"), status); + = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("pt", "BR"), status); if (U_FAILURE(status)) { errln("failed to construct formatter"); } else { - doTest(formatter, 0, 12345678); + doTest(formatter, -12345678, 12345678); } delete formatter; }