2
*******************************************************************************
3
* Copyright (C) 1996-2000, International Business Machines Corporation and *
4
* others. All Rights Reserved. *
5
*******************************************************************************
13
#include "unicode/utypes.h"
14
#include "unicode/rbnf.h"
17
class IntlTestRBNF : public IntlTest {
21
virtual void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par);
27
virtual void TestAPI();
30
* Perform a simple spot check on the FractionalRuleSet logic
32
virtual void TestFractionalRuleSet();
36
* Perform API tests on llong
38
virtual void TestLLong();
39
virtual void TestLLongConstructors();
40
virtual void TestLLongSimpleOperators();
44
* Perform a simple spot check on the English spellout rules
46
virtual void TestEnglishSpellout();
49
* Perform a simple spot check on the English ordinal-abbreviation rules
51
virtual void TestOrdinalAbbreviations();
54
* Perform a simple spot check on the duration-formatting rules
56
virtual void TestDurations();
59
* Perform a simple spot check on the Spanish spellout rules
61
virtual void TestSpanishSpellout();
64
* Perform a simple spot check on the French spellout rules
66
virtual void TestFrenchSpellout();
69
* Perform a simple spot check on the Swiss French spellout rules
71
virtual void TestSwissFrenchSpellout();
74
* Perform a simple spot check on the Italian spellout rules
76
virtual void TestItalianSpellout();
79
* Perform a simple spot check on the German spellout rules
81
virtual void TestGermanSpellout();
84
* Perform a simple spot check on the Thai spellout rules
86
virtual void TestThaiSpellout();
89
virtual void doTest(RuleBasedNumberFormat* formatter, const char* testData[][2], UBool testParsing);
90
virtual void doLenientParseTest(RuleBasedNumberFormat* formatter, const char* testData[][2]);
95
virtual void TestRBNFDisabled();