1 /******************************************************************** 2 * COPYRIGHT: 3 * Copyright (c) 1997-2009, 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 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); 57 58 /** 59 * Test some Currency stuff 60 **/ 61 static void TestCurrencyRegression(void); 62 63 64 #endif /* #if !UCONFIG_NO_FORMATTING */ 65 66 #endif 67