]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/dcfmapts.h
ICU-6.2.4.tar.gz
[apple/icu.git] / icuSources / test / intltest / dcfmapts.h
CommitLineData
b75a7d8f
A
1/********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-2001, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6
7
8#ifndef _INTLTESTDECIMALFORMATAPI
9#define _INTLTESTDECIMALFORMATAPI
10
11#include "unicode/utypes.h"
12
13#if !UCONFIG_NO_FORMATTING
14
15#include "unicode/unistr.h"
16#include "intltest.h"
17
18
19class IntlTestDecimalFormatAPI: public IntlTest {
20 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
21
22public:
23 /**
24 * Tests basic functionality of various API functions for DecimalFormat
25 **/
26 void testAPI(/*char *par*/);
27 void testRounding(/*char *par*/);
28private:
29 /*Helper functions */
30 void verify(const UnicodeString& message, const UnicodeString& got, double expected);
31};
32
33#endif /* #if !UCONFIG_NO_FORMATTING */
34
35#endif