1/********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-2003, 2007-2009 International Business Machines Corporation and
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
41/* Test proper handling of rounding modes. */
42static void TestRounding5350(void);
43
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*);
54static void roundingTest2(UNumberFormat*, double, int32_t, const char*);
55
56static void TestCurrencyKeywords(void);
57
58static void TestGetKeywordValuesForLocale(void);
59
60#endif /* #if !UCONFIG_NO_FORMATTING */
61
62#endif
63