]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/cintltst/cnmdptst.h
1 /********************************************************************
3 * Copyright (c) 1997-2003, 2007-2009 International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6 /********************************************************************************
10 * Modification History:
12 * Madhu Katragadda Creation
13 *********************************************************************************
15 /* C DEPTH TEST FOR NUMBER FORMAT */
20 #include "unicode/utypes.h"
22 #if !UCONFIG_NO_FORMATTING
26 /* The function used to test differnet format patterns*/
27 static void TestPatterns(void);
29 /* Test the handling of quotes*/
30 static void TestQuotes(void);
32 /* Test patterns with exponential representation*/
33 static void TestExponential(void);
35 /* Test the handling of the currency symbol in patterns. */
36 static void TestCurrencySign(void);
38 /* Test proper rounding by the format method.*/
39 static void TestRounding487(void);
41 /* Test proper handling of rounding modes. */
42 static void TestRounding5350(void);
44 /* Test localized currency patterns. */
45 static void TestCurrency(void);
47 /* Test getDoubleAttribute and getDoubleAttribute */
48 static void TestDoubleAttribute(void);
50 static void TestSecondaryGrouping(void);
52 /*Internal functions used*/
53 static void roundingTest(UNumberFormat
*, double, int32_t, const char*);
54 static void roundingTest2(UNumberFormat
*, double, int32_t, const char*);
56 static void TestCurrencyKeywords(void);
58 static void TestGetKeywordValuesForLocale(void);
60 #endif /* #if !UCONFIG_NO_FORMATTING */