]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/cintltst/cnumtst.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 1997-2014, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
8 /********************************************************************************
12 * Modification History:
14 * Madhu Katragadda Creation
15 *********************************************************************************
17 /* C API TEST FOR NUMBER FORMAT */
21 #include "unicode/utypes.h"
23 #if !UCONFIG_NO_FORMATTING
29 * The function used to test the Number format API
31 static void TestNumberFormat(void);
34 * The function used to test parsing of numbers in UNUM_SPELLOUT style
36 static void TestSpelloutNumberParse(void);
39 * The function used to test significant digits in the Number format API
41 static void TestSignificantDigits(void);
44 * The function used to test Number format API rounding with significant digits
46 static void TestSigDigRounding(void);
49 * The function used to test the Number format API with padding
51 static void TestNumberFormatPadding(void);
54 * The function used to test the Number format API with padding
56 static void TestInt64Format(void);
58 static void TestNonExistentCurrency(void);
61 * Test RBNF access through unumfmt APIs.
63 static void TestRBNFFormat(void);
66 * Test some Currency stuff
68 static void TestCurrencyRegression(void);
71 * Test strict parsing of "0"
73 static void TestParseZero(void);
76 * Test cloning formatter with RBNF
78 static void TestCloneWithRBNF(void);
81 * Test the Currency Usage Implementations
83 static void TestCurrencyUsage(void);
84 #endif /* #if !UCONFIG_NO_FORMATTING */