1// © 2016 and later: Unicode, Inc. and others. 2// License & terms of use: http://www.unicode.org/copyright.html 3/******************************************************************** 4 * COPYRIGHT: 5 * Copyright (c) 1997-2013, International Business Machines Corporation and 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 **/ 22class IntlTestDecimalFormatSymbols: public IntlTest { 23 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); 24 25private: 26 /** 27 * Test the API of DecimalFormatSymbols; primarily a simple get/set set. 28 */ 29 void testSymbols(/*char *par*/); 30 void testLastResortData(); 31 void testNumberingSystem(); 32 33 /** helper functions**/ 34 void Verify(double value, const UnicodeString& pattern, 35 const DecimalFormatSymbols &sym, const UnicodeString& expected); 36}; 37 38#endif /* #if !UCONFIG_NO_FORMATTING */ 39 40#endif 41