1/********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-2011, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6/********************************************************************************
7*
8* File CNUMTST.H
9*
10* Modification History:
11*        Name                     Description
12*     Madhu Katragadda              Creation
13*********************************************************************************
14*/
15/* C API TEST FOR NUMBER FORMAT */
16#ifndef _CNUMFRMTST
17#define _CNUMFRMTST
18
19#include "unicode/utypes.h"
20
21#if !UCONFIG_NO_FORMATTING
22
23#include "cintltst.h"
24
25
26/**
27 * The function used to test the Number format API
28 **/
29static void TestNumberFormat(void);
30
31/**
32 * The function used to test parsing of numbers in UNUM_SPELLOUT style
33 **/
34static void TestSpelloutNumberParse(void);
35
36/**
37 * The function used to test significant digits in the Number format API
38 **/
39static void TestSignificantDigits(void);
40
41/**
42 * The function used to test Number format API rounding with significant digits
43 **/
44static void TestSigDigRounding(void);
45
46/**
47 * The function used to test the Number format API with padding
48 **/
49static void TestNumberFormatPadding(void);
50
51/**
52 * The function used to test the Number format API with padding
53 **/
54static void TestInt64Format(void);
55
56static void TestNonExistentCurrency(void);
57
58/**
59 * Test RBNF access through unumfmt APIs.
60 **/
61static void TestRBNFFormat(void);
62
63/**
64 * Test some Currency stuff
65 **/
66static void TestCurrencyRegression(void);
67
68/**
69 * Test strict parsing of "0"
70 **/
71static void TestParseZero(void);
72
73/**
74 * Test cloning formatter with RBNF
75 **/
76static void TestCloneWithRBNF(void);
77
78#endif /* #if !UCONFIG_NO_FORMATTING */
79
80#endif
81