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

  1. /*
  2. ********************************************************************
  3. * COPYRIGHT: 
  4. * (C) Copyright International Business Machines Corporation 1998
  5. * Licensed Material - Program-Property of IBM - All Rights Reserved. 
  6. * US Government Users Restricted Rights - Use, duplication, or disclosure 
  7. * restricted by GSA ADP Schedule Contract with IBM Corp. 
  8. *
  9. ********************************************************************
  10. */
  11.  
  12. #ifndef _PUTILTEST_
  13. #define _PUTILTEST_
  14.  
  15. #include "utypes.h"
  16. #include "intltest.h"
  17.  
  18. /** 
  19.  * Test putil.h
  20.  **/
  21. class PUtilTest : public IntlTest {
  22.     // IntlTest override
  23.     void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par );
  24. public:
  25.  
  26.     void testIEEEremainder(void);
  27.     void testMaxMin(void);
  28.  
  29. private:
  30.     void remainderTest(double x, double y, double exp);
  31.     void maxMinTest(double a, double b, double exp, bool_t max);
  32.  
  33. };
  34.  
  35. #endif
  36. //eof
  37.