]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/dcfmapts.h
1 /********************************************************************
3 * Copyright (c) 1997-2014, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
8 #ifndef _INTLTESTDECIMALFORMATAPI
9 #define _INTLTESTDECIMALFORMATAPI
11 #include "unicode/utypes.h"
13 #if !UCONFIG_NO_FORMATTING
15 #include "unicode/unistr.h"
19 class IntlTestDecimalFormatAPI
: public IntlTest
{
20 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
24 * Tests basic functionality of various API functions for DecimalFormat
26 void testAPI(/*char *par*/);
27 void testRounding(/*char *par*/);
28 void testRoundingInc(/*char *par*/);
29 void TestCurrencyPluralInfo();
31 void TestFixedDecimal();
32 void TestBadFastpath();
33 void TestRequiredDecimalPoint();
36 void verify(const UnicodeString
& message
, const UnicodeString
& got
, double expected
);
37 void verifyString(const UnicodeString
& message
, const UnicodeString
& got
, UnicodeString
& expected
);
40 #endif /* #if !UCONFIG_NO_FORMATTING */