scuffed-code/icu4c/source/test/intltest/tchcfmt.h
Helena Chapman 3aaa52af8d ICU-161 updated the copyright notices.
X-SVN-Rev: 596
2000-01-15 02:00:06 +00:00

49 lines
1.3 KiB
C++

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-1999, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/**
* TestChoiceFormat is a third level test class
*/
#include "unicode/utypes.h"
#include "intltest.h"
/**
* tests Choice Format, functionality of examples, as well as API functionality
**/
class TestChoiceFormat: public IntlTest {
/**
* tests basic functionality in a simple example
**/
void TestSimpleExample(void);
/**
* tests functionality in a more complex example,
* and extensive API functionality.
* See verbose message output statements for specifically tested API
**/
void TestComplexExample(void);
/**
* test the use of next_Double with ChoiceFormat
**/
void TestChoiceNextDouble(void);
/**
* test the numerical results of next_Double and previous_Double
**/
void TestGapNextDouble(void);
/**
* utiltity function for TestGapNextDouble
**/
void testValue( double val );
/**
* runs tests in local funtions:
**/
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
};