1 /********************************************************************
3 * Copyright (c) 1997-2013, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
7 #ifndef _INTLTESTDECIMALFORMATSYMBOLS
8 #define _INTLTESTDECIMALFORMATSYMBOLS
10 #include "unicode/utypes.h"
12 #if !UCONFIG_NO_FORMATTING
14 #include "unicode/unistr.h"
15 #include "unicode/dcfmtsym.h"
18 * Tests for DecimalFormatSymbols
20 class IntlTestDecimalFormatSymbols
: public IntlTest
{
21 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
25 * Test the API of DecimalFormatSymbols; primarily a simple get/set set.
27 void testSymbols(/*char *par*/);
28 void testLastResortData();
30 /** helper functions**/
31 void Verify(double value
, const UnicodeString
& pattern
,
32 const DecimalFormatSymbols
&sym
, const UnicodeString
& expected
);
35 #endif /* #if !UCONFIG_NO_FORMATTING */