]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/cintltst/cnmdptst.h
ICU-511.25.tar.gz
[apple/icu.git] / icuSources / test / cintltst / cnmdptst.h
CommitLineData
b75a7d8f
A
1/********************************************************************
2 * COPYRIGHT:
729e4ab9 3 * Copyright (c) 1997-2003, 2007-2009 International Business Machines Corporation and
b75a7d8f
A
4 * others. All Rights Reserved.
5 ********************************************************************/
6/********************************************************************************
7*
8* File CNMDPTST.H
9*
10* Modification History:
11* Name Description
12* Madhu Katragadda Creation
13*********************************************************************************
14*/
15/* C DEPTH TEST FOR NUMBER FORMAT */
16
17#ifndef _CNUMDEPTST
18#define _CNUMDEPTST
19
20#include "unicode/utypes.h"
21
22#if !UCONFIG_NO_FORMATTING
23
24#include "cintltst.h"
25
26/* The function used to test differnet format patterns*/
27static void TestPatterns(void);
28
29/* Test the handling of quotes*/
30static void TestQuotes(void);
31
32/* Test patterns with exponential representation*/
33static void TestExponential(void);
34
35/* Test the handling of the currency symbol in patterns. */
36static void TestCurrencySign(void);
37
38/* Test proper rounding by the format method.*/
39static void TestRounding487(void);
40
46f4442e
A
41/* Test proper handling of rounding modes. */
42static void TestRounding5350(void);
43
b75a7d8f
A
44/* Test localized currency patterns. */
45static void TestCurrency(void);
46
47/* Test getDoubleAttribute and getDoubleAttribute */
48static void TestDoubleAttribute(void);
49
50static void TestSecondaryGrouping(void);
51
52/*Internal functions used*/
53static void roundingTest(UNumberFormat*, double, int32_t, const char*);
46f4442e 54static void roundingTest2(UNumberFormat*, double, int32_t, const char*);
b75a7d8f 55
374ca955
A
56static void TestCurrencyKeywords(void);
57
729e4ab9
A
58static void TestGetKeywordValuesForLocale(void);
59
b75a7d8f
A
60#endif /* #if !UCONFIG_NO_FORMATTING */
61
62#endif