]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | /******************************************************************** |
2 | * COPYRIGHT: | |
46f4442e | 3 | * Copyright (c) 1997-2009, 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 | ||
41 | /** | |
42 | * The function used to test the Number format API with padding | |
43 | **/ | |
44 | static void TestNumberFormatPadding(void); | |
45 | ||
46 | /** | |
47 | * The function used to test the Number format API with padding | |
48 | **/ | |
49 | static void TestInt64Format(void); | |
50 | ||
51 | static void TestNonExistentCurrency(void); | |
52 | ||
53 | /** | |
54 | * Test RBNF access through unumfmt APIs. | |
55 | **/ | |
56 | static void TestRBNFFormat(void); | |
b75a7d8f | 57 | |
73c04bcf A |
58 | /** |
59 | * Test some Currency stuff | |
60 | **/ | |
61 | static void TestCurrencyRegression(void); | |
62 | ||
63 | ||
b75a7d8f A |
64 | #endif /* #if !UCONFIG_NO_FORMATTING */ |
65 | ||
66 | #endif |