]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/cintltst/cnumtst.h
1 /********************************************************************
3 * Copyright (c) 1997-2014, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6 /********************************************************************************
10 * Modification History:
12 * Madhu Katragadda Creation
13 *********************************************************************************
15 /* C API TEST FOR NUMBER FORMAT */
19 #include "unicode/utypes.h"
21 #if !UCONFIG_NO_FORMATTING
27 * The function used to test the Number format API
29 static void TestNumberFormat(void);
32 * The function used to test parsing of numbers in UNUM_SPELLOUT style
34 static void TestSpelloutNumberParse(void);
37 * The function used to test significant digits in the Number format API
39 static void TestSignificantDigits(void);
42 * The function used to test Number format API rounding with significant digits
44 static void TestSigDigRounding(void);
47 * The function used to test the Number format API with padding
49 static void TestNumberFormatPadding(void);
52 * The function used to test the Number format API with padding
54 static void TestInt64Format(void);
56 static void TestNonExistentCurrency(void);
59 * Test RBNF access through unumfmt APIs.
61 static void TestRBNFFormat(void);
64 * Test some Currency stuff
66 static void TestCurrencyRegression(void);
69 * Test strict parsing of "0"
71 static void TestParseZero(void);
74 * Test cloning formatter with RBNF
76 static void TestCloneWithRBNF(void);
79 * Test the Currency Usage Implementations
81 static void TestCurrencyUsage(void);
82 #endif /* #if !UCONFIG_NO_FORMATTING */