scuffed-code/icu4c/source/test/intltest/dcfmapts.h

36 lines
937 B
C
Raw Normal View History

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2001, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
1999-08-16 21:50:52 +00:00
#ifndef _INTLTESTDECIMALFORMATAPI
#define _INTLTESTDECIMALFORMATAPI
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/unistr.h"
1999-08-16 21:50:52 +00:00
#include "intltest.h"
class IntlTestDecimalFormatAPI: public IntlTest {
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
1999-08-16 21:50:52 +00:00
public:
1999-08-16 21:50:52 +00:00
/**
* Tests basic functionality of various API functions for DecimalFormat
**/
void testAPI(/*char *par*/);
void testRounding(/*char *par*/);
private:
/*Helper functions */
void verify(const UnicodeString& message, const UnicodeString& got, double expected);
1999-08-16 21:50:52 +00:00
};
#endif /* #if !UCONFIG_NO_FORMATTING */
1999-08-16 21:50:52 +00:00
#endif