reactos/lib/3rdparty/icu4ros/icu/source/test/intltest/dcfmapts.h
Amine Khaldi c424146e2c Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
2010-07-24 18:52:44 +00:00

36 lines
937 B
C++

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2001, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#ifndef _INTLTESTDECIMALFORMATAPI
#define _INTLTESTDECIMALFORMATAPI
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/unistr.h"
#include "intltest.h"
class IntlTestDecimalFormatAPI: public IntlTest {
void runIndexedTest( int32_t index, UBool exec, const 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 /* #if !UCONFIG_NO_FORMATTING */
#endif