blob: 090da6d744579c4b57438726244371a1cd37b1fb [file] [log] [blame]
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use:
* Copyright (c) 1997-2014, International Business Machines Corporation and
* others. All Rights Reserved.
#include "unicode/utypes.h"
#include "unicode/unistr.h"
#include "intltest.h"
class IntlTestDecimalFormatAPI: public IntlTest {
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
* Tests basic functionality of various API functions for DecimalFormat
void testAPI(/*char *par*/);
void testRounding(/*char *par*/);
void testRoundingInc(/*char *par*/);
void TestCurrencyPluralInfo();
void TestScale();
void TestFixedDecimal();
void TestBadFastpath();
void TestRequiredDecimalPoint();
void testErrorCode();
void testInvalidObject();
/*Helper functions */
void verify(const UnicodeString& message, const UnicodeString& got, double expected);
void verifyString(const UnicodeString& message, const UnicodeString& got, UnicodeString& expected);
#endif /* #if !UCONFIG_NO_FORMATTING */