scuffed-code/icu4c/source/test/intltest/tsputil.h

33 lines
742 B
C
Raw Normal View History

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-1999, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
1999-08-16 21:50:52 +00:00
#ifndef _PUTILTEST_
#define _PUTILTEST_
#include "unicode/utypes.h"
1999-08-16 21:50:52 +00:00
#include "intltest.h"
/**
* Test putil.h
**/
class PUtilTest : public IntlTest {
// IntlTest override
void runIndexedTest( int32_t index, UBool exec, char* &name, char* par );
1999-08-16 21:50:52 +00:00
public:
void testIEEEremainder(void);
void testMaxMin(void);
private:
void remainderTest(double x, double y, double exp);
void maxMinTest(double a, double b, double exp, UBool max);
1999-08-16 21:50:52 +00:00
};
#endif
//eof