OLD | NEW |
(Empty) | |
| 1 /******************************************************************** |
| 2 * COPYRIGHT: |
| 3 * Copyright (c) 1997-2010, 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 **/ |
| 29 static void TestNumberFormat(void); |
| 30 |
| 31 /** |
| 32 * The function used to test parsing of numbers in UNUM_SPELLOUT style |
| 33 **/ |
| 34 static void TestSpelloutNumberParse(void); |
| 35 |
| 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 Number format API rounding with significant digits |
| 43 **/ |
| 44 static void TestSigDigRounding(void); |
| 45 |
| 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); |
| 62 |
| 63 /** |
| 64 * Test some Currency stuff |
| 65 **/ |
| 66 static void TestCurrencyRegression(void); |
| 67 |
| 68 |
| 69 #endif /* #if !UCONFIG_NO_FORMATTING */ |
| 70 |
| 71 #endif |
OLD | NEW |