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