2000-01-15 02:00:06 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2004-05-19 21:19:13 +00:00
|
|
|
* Copyright (c) 1997-2004, International Business Machines Corporation and
|
2000-01-15 02:00:06 +00:00
|
|
|
* others. All Rights Reserved.
|
|
|
|
********************************************************************/
|
|
|
|
/********************************************************************************
|
1999-08-16 21:50:52 +00:00
|
|
|
*
|
|
|
|
* File CNUMTST.H
|
|
|
|
*
|
|
|
|
* Modification History:
|
|
|
|
* Name Description
|
|
|
|
* Madhu Katragadda Creation
|
|
|
|
*********************************************************************************
|
|
|
|
*/
|
|
|
|
/* C API TEST FOR NUMBER FORMAT */
|
|
|
|
#ifndef _CNUMFRMTST
|
|
|
|
#define _CNUMFRMTST
|
|
|
|
|
2002-09-20 17:54:45 +00:00
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
|
|
|
#if !UCONFIG_NO_FORMATTING
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
#include "cintltst.h"
|
|
|
|
|
|
|
|
|
2004-04-29 17:50:01 +00:00
|
|
|
/**
|
|
|
|
* The function used to test the Number format API
|
|
|
|
**/
|
|
|
|
static void TestNumberFormat(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The function used to test significant digits in the Number format API
|
|
|
|
**/
|
|
|
|
static void TestSignificantDigits(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The function used to test the Number format API with padding
|
|
|
|
**/
|
|
|
|
static void TestNumberFormatPadding(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The function used to test the Number format API with padding
|
|
|
|
**/
|
|
|
|
static void TestInt64Format(void);
|
|
|
|
|
2004-08-09 07:07:33 +00:00
|
|
|
static void TestNonExistentCurrency(void);
|
|
|
|
|
2004-04-29 17:50:01 +00:00
|
|
|
/**
|
|
|
|
* Test RBNF access through unumfmt APIs.
|
|
|
|
**/
|
|
|
|
static void TestRBNFFormat(void);
|
2004-03-12 20:15:13 +00:00
|
|
|
|
2005-06-02 21:56:14 +00:00
|
|
|
/**
|
|
|
|
* Test some Currency stuff
|
|
|
|
**/
|
|
|
|
static void TestCurrencyRegression(void);
|
|
|
|
|
|
|
|
|
2002-09-20 17:54:45 +00:00
|
|
|
#endif /* #if !UCONFIG_NO_FORMATTING */
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
#endif
|