]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/itrbnfrt.h
2 *******************************************************************************
3 * Copyright (C) 1996-2006, International Business Machines Corporation and *
4 * others. All Rights Reserved. *
5 *******************************************************************************
11 #include "unicode/utypes.h"
13 #if !UCONFIG_NO_FORMATTING
16 #include "unicode/rbnf.h"
18 class RbnfRoundTripTest
: public IntlTest
{
21 virtual void runIndexedTest(int32_t index
, UBool exec
, const char* &name
, char* par
);
25 * Perform an exhaustive round-trip test on the English spellout rules
27 virtual void TestEnglishSpelloutRT();
30 * Perform an exhaustive round-trip test on the duration-formatting rules
32 virtual void TestDurationsRT();
35 * Perform an exhaustive round-trip test on the Spanish spellout rules
37 virtual void TestSpanishSpelloutRT();
40 * Perform an exhaustive round-trip test on the French spellout rules
42 virtual void TestFrenchSpelloutRT();
45 * Perform an exhaustive round-trip test on the Swiss French spellout rules
47 virtual void TestSwissFrenchSpelloutRT();
50 * Perform an exhaustive round-trip test on the Italian spellout rules
52 virtual void TestItalianSpelloutRT();
55 * Perform an exhaustive round-trip test on the German spellout rules
57 virtual void TestGermanSpelloutRT();
60 * Perform an exhaustive round-trip test on the Swedish spellout rules
62 virtual void TestSwedishSpelloutRT();
65 * Perform an exhaustive round-trip test on the Dutch spellout rules
67 virtual void TestDutchSpelloutRT();
70 * Perform an exhaustive round-trip test on the Japanese spellout rules
72 virtual void TestJapaneseSpelloutRT();
75 * Perform an exhaustive round-trip test on the Russian spellout rules
77 virtual void TestRussianSpelloutRT();
80 * Perform an exhaustive round-trip test on the Portuguese spellout rules
82 virtual void TestPortugueseSpelloutRT();
85 void doTest(const RuleBasedNumberFormat
* formatter
, double lowLimit
, double highLimit
);
90 void TestRBNFDisabled();
96 #endif /* #if !UCONFIG_NO_FORMATTING */