]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/plurults.h
1 /********************************************************************
3 * Copyright (c) 1997-2012, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
7 #ifndef _PluralRulesTest
8 #define _PluralRulesTest
10 #include "unicode/utypes.h"
12 #if !UCONFIG_NO_FORMATTING
17 * Test basic functionality of various API functions
19 class PluralRulesTest
: public IntlTest
{
20 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
24 * Performs tests on many API functions, see detailed comments in source code
27 void testGetUniqueKeywordValue();
28 void testGetSamples();
30 void testGetAllKeywordValues();
33 void assertRuleValue(const UnicodeString
& rule
, double expected
);
34 void assertRuleKeyValue(const UnicodeString
& rule
, const UnicodeString
& key
,
38 #endif /* #if !UCONFIG_NO_FORMATTING */