1 /******************************************************************** 2 * COPYRIGHT: 3 * Copyright (c) 1997-2001, 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 **/ 20 class IntlTestDecimalFormatSymbols: public IntlTest { 21 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); 22 23 private: 24 /** 25 * Test the API of DecimalFormatSymbols; primarily a simple get/set set. 26 */ 27 void testSymbols(/*char *par*/); 28 29 /** helper functions**/ 30 void Verify(double value, const UnicodeString& pattern, DecimalFormatSymbols sym, const UnicodeString& expected); 31 }; 32 33 #endif /* #if !UCONFIG_NO_FORMATTING */ 34 35 #endif 36