2000-01-15 02:00:06 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
|
|
|
* Copyright (c) 1997-1999, International Business Machines Corporation and
|
|
|
|
* others. All Rights Reserved.
|
|
|
|
********************************************************************/
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef _INTLTESTDECIMALFORMATAPI
|
|
|
|
#define _INTLTESTDECIMALFORMATAPI
|
|
|
|
|
|
|
|
|
1999-12-28 23:57:50 +00:00
|
|
|
#include "unicode/utypes.h"
|
1999-08-16 21:50:52 +00:00
|
|
|
#include "intltest.h"
|
|
|
|
|
|
|
|
|
|
|
|
class IntlTestDecimalFormatAPI: public IntlTest {
|
2000-08-14 21:42:36 +00:00
|
|
|
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2000-06-22 17:26:12 +00:00
|
|
|
public:
|
1999-08-16 21:50:52 +00:00
|
|
|
/**
|
|
|
|
* Tests basic functionality of various API functions for DecimalFormat
|
|
|
|
**/
|
2000-08-23 19:11:16 +00:00
|
|
|
void testAPI(/*char *par*/);
|
|
|
|
void testRounding(/*char *par*/);
|
2000-08-14 21:42:36 +00:00
|
|
|
private:
|
2000-06-22 01:09:15 +00:00
|
|
|
/*Helper functions */
|
2000-08-14 21:42:36 +00:00
|
|
|
void verify(const UnicodeString& message, const UnicodeString& got, double expected);
|
1999-08-16 21:50:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|