home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / intltest / tchcfmt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  1.5 KB  |  55 lines

  1.  
  2. /*
  3. ********************************************************************
  4. * COPYRIGHT: 
  5. * (C) Copyright Taligent, Inc., 1997
  6. * (C) Copyright International Business Machines Corporation, 1997 - 1998
  7. * Licensed Material - Program-Property of IBM - All Rights Reserved. 
  8. * US Government Users Restricted Rights - Use, duplication, or disclosure 
  9. * restricted by GSA ADP Schedule Contract with IBM Corp. 
  10. *
  11. ********************************************************************
  12. */
  13.  
  14. /**
  15.  * TestChoiceFormat is a third level test class
  16.  */
  17.  
  18.  
  19. #include "utypes.h"
  20. #include "intltest.h"
  21.  
  22.  
  23. /**
  24.  * tests Choice Format, functionality of examples, as well as API functionality
  25.  **/
  26. class TestChoiceFormat: public IntlTest {
  27.     /** 
  28.      *    tests basic functionality in a simple example
  29.      **/
  30.     void TestSimpleExample(void); 
  31.     /**
  32.      *    tests functionality in a more complex example,
  33.      *    and extensive API functionality.
  34.      *    See verbose message output statements for specifically tested API
  35.      **/
  36.     void TestComplexExample(void);
  37.     /**
  38.      * test the use of next_Double with ChoiceFormat
  39.      **/
  40.     void TestChoiceNextDouble(void);
  41.     /** 
  42.      * test the numerical results of next_Double and previous_Double
  43.      **/
  44.     void TestGapNextDouble(void);
  45.     /**
  46.      * utiltity function for TestGapNextDouble
  47.      **/
  48.     void testValue( double val );
  49.  
  50.     /** 
  51.      *    runs tests in local funtions:
  52.      **/
  53.     void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
  54. };
  55.