diff options
Diffstat (limited to 'Build/source/libs/icu/icu-50.1/test/intltest/dcfmapts.h')
-rw-r--r-- | Build/source/libs/icu/icu-50.1/test/intltest/dcfmapts.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-50.1/test/intltest/dcfmapts.h b/Build/source/libs/icu/icu-50.1/test/intltest/dcfmapts.h new file mode 100644 index 00000000000..c17d0b39300 --- /dev/null +++ b/Build/source/libs/icu/icu-50.1/test/intltest/dcfmapts.h @@ -0,0 +1,37 @@ +/******************************************************************** + * COPYRIGHT: + * Copyright (c) 1997-2009, International Business Machines Corporation and + * others. All Rights Reserved. + ********************************************************************/ + + +#ifndef _INTLTESTDECIMALFORMATAPI +#define _INTLTESTDECIMALFORMATAPI + +#include "unicode/utypes.h" + +#if !UCONFIG_NO_FORMATTING + +#include "unicode/unistr.h" +#include "intltest.h" + + +class IntlTestDecimalFormatAPI: public IntlTest { + void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); + +public: + /** + * Tests basic functionality of various API functions for DecimalFormat + **/ + void testAPI(/*char *par*/); + void testRounding(/*char *par*/); + void testRoundingInc(/*char *par*/); + void TestCurrencyPluralInfo(); +private: + /*Helper functions */ + void verify(const UnicodeString& message, const UnicodeString& got, double expected); +}; + +#endif /* #if !UCONFIG_NO_FORMATTING */ + +#endif |