1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 1997-2013, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
9 #ifndef _INTLTESTDECIMALFORMATSYMBOLS
10 #define _INTLTESTDECIMALFORMATSYMBOLS
12 #include "unicode/utypes.h"
14 #if !UCONFIG_NO_FORMATTING
16 #include "unicode/unistr.h"
17 #include "unicode/dcfmtsym.h"
20 * Tests for DecimalFormatSymbols
22 class IntlTestDecimalFormatSymbols
: public IntlTest
{
23 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
27 * Test the API of DecimalFormatSymbols; primarily a simple get/set set.
29 void testSymbols(/*char *par*/);
30 void testLastResortData();
31 void testDigitSymbols();
32 void testNumberingSystem();
34 /** helper functions**/
35 void Verify(double value
, const UnicodeString
& pattern
,
36 const DecimalFormatSymbols
&sym
, const UnicodeString
& expected
);
39 #endif /* #if !UCONFIG_NO_FORMATTING */