scuffed-code/icu4c/source/test/intltest/dcfmapts.h
2000-06-22 17:26:12 +00:00

31 lines
822 B
C++

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-1999, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#ifndef _INTLTESTDECIMALFORMATAPI
#define _INTLTESTDECIMALFORMATAPI
#include "unicode/utypes.h"
#include "intltest.h"
class IntlTestDecimalFormatAPI: public IntlTest {
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
public:
/**
* 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);
};
#endif