]>
Commit | Line | Data |
---|---|---|
f3c0d7a5 A |
1 | // © 2016 and later: Unicode, Inc. and others. |
2 | // License & terms of use: http://www.unicode.org/copyright.html | |
b75a7d8f A |
3 | /******************************************************************** |
4 | * COPYRIGHT: | |
57a6839d | 5 | * Copyright (c) 1997-2013, International Business Machines Corporation and |
b75a7d8f A |
6 | * others. All Rights Reserved. |
7 | ********************************************************************/ | |
8 | ||
9 | #ifndef _INTLTESTDECIMALFORMATSYMBOLS | |
10 | #define _INTLTESTDECIMALFORMATSYMBOLS | |
11 | ||
12 | #include "unicode/utypes.h" | |
13 | ||
14 | #if !UCONFIG_NO_FORMATTING | |
15 | ||
16 | #include "unicode/unistr.h" | |
17 | #include "unicode/dcfmtsym.h" | |
18 | #include "intltest.h" | |
19 | /** | |
20 | * Tests for DecimalFormatSymbols | |
21 | **/ | |
22 | class IntlTestDecimalFormatSymbols: public IntlTest { | |
23 | void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); | |
24 | ||
25 | private: | |
26 | /** | |
27 | * Test the API of DecimalFormatSymbols; primarily a simple get/set set. | |
28 | */ | |
29 | void testSymbols(/*char *par*/); | |
57a6839d | 30 | void testLastResortData(); |
0f5d89e8 A |
31 | void testDigitSymbols(); |
32 | void testNumberingSystem(); | |
b75a7d8f A |
33 | |
34 | /** helper functions**/ | |
57a6839d A |
35 | void Verify(double value, const UnicodeString& pattern, |
36 | const DecimalFormatSymbols &sym, const UnicodeString& expected); | |
b75a7d8f A |
37 | }; |
38 | ||
39 | #endif /* #if !UCONFIG_NO_FORMATTING */ | |
40 | ||
41 | #endif |