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