]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/tsputil.h
ICU-461.12.tar.gz
[apple/icu.git] / icuSources / test / intltest / tsputil.h
CommitLineData
b75a7d8f
A
1/********************************************************************
2 * COPYRIGHT:
73c04bcf 3 * Copyright (c) 1997-2005, International Business Machines Corporation and
b75a7d8f
A
4 * others. All Rights Reserved.
5 ********************************************************************/
6
7
8#ifndef _PUTILTEST_
9#define _PUTILTEST_
10
11#include "intltest.h"
12
13/**
14 * Test putil.h
15 **/
16class PUtilTest : public IntlTest {
17 // IntlTest override
18 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
19public:
20
21// void testIEEEremainder(void);
22 void testMaxMin(void);
23
24private:
25// void remainderTest(double x, double y, double exp);
26 void maxMinTest(double a, double b, double exp, UBool max);
27
374ca955
A
28 // the actual tests; methods return the number of errors
29 void testNaN(void);
30 void testPositiveInfinity(void);
31 void testNegativeInfinity(void);
32 void testZero(void);
73c04bcf 33 void testU_INLINE();
374ca955
A
34
35 // subtests of testNaN
36 void testIsNaN(void);
37 void NaNGT(void);
38 void NaNLT(void);
39 void NaNGTE(void);
40 void NaNLTE(void);
41 void NaNE(void);
42 void NaNNE(void);
43
b75a7d8f
A
44};
45
46#endif
47//eof