]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | /******************************************************************** |
2 | * COPYRIGHT: | |
b331163b | 3 | * Copyright (c) 1997-2014, International Business Machines Corporation and |
b75a7d8f A |
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 | ||
374ca955 A |
26 | /** |
27 | * The function used to test the Number format API | |
28 | **/ | |
29 | static void TestNumberFormat(void); | |
b75a7d8f | 30 | |
46f4442e A |
31 | /** |
32 | * The function used to test parsing of numbers in UNUM_SPELLOUT style | |
33 | **/ | |
34 | static void TestSpelloutNumberParse(void); | |
35 | ||
374ca955 A |
36 | /** |
37 | * The function used to test significant digits in the Number format API | |
38 | **/ | |
39 | static void TestSignificantDigits(void); | |
40 | ||
729e4ab9 A |
41 | /** |
42 | * The function used to test Number format API rounding with significant digits | |
43 | **/ | |
44 | static void TestSigDigRounding(void); | |
45 | ||
374ca955 A |
46 | /** |
47 | * The function used to test the Number format API with padding | |
48 | **/ | |
49 | static void TestNumberFormatPadding(void); | |
50 | ||
51 | /** | |
52 | * The function used to test the Number format API with padding | |
53 | **/ | |
54 | static void TestInt64Format(void); | |
55 | ||
56 | static void TestNonExistentCurrency(void); | |
57 | ||
58 | /** | |
59 | * Test RBNF access through unumfmt APIs. | |
60 | **/ | |
61 | static void TestRBNFFormat(void); | |
b75a7d8f | 62 | |
73c04bcf A |
63 | /** |
64 | * Test some Currency stuff | |
65 | **/ | |
66 | static void TestCurrencyRegression(void); | |
67 | ||
729e4ab9 A |
68 | /** |
69 | * Test strict parsing of "0" | |
70 | **/ | |
71 | static void TestParseZero(void); | |
73c04bcf | 72 | |
4388f060 A |
73 | /** |
74 | * Test cloning formatter with RBNF | |
75 | **/ | |
76 | static void TestCloneWithRBNF(void); | |
77 | ||
b331163b A |
78 | /** |
79 | * Test the Currency Usage Implementations | |
80 | **/ | |
81 | static void TestCurrencyUsage(void); | |
b75a7d8f A |
82 | #endif /* #if !UCONFIG_NO_FORMATTING */ |
83 | ||
84 | #endif |