1 /********************************************************************
3 * Copyright (c) 1997-2003, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
8 #ifndef LOTUSCOLLATIONKOREANTEST_H
9 #define LOTUSCOLLATIONKOREANTEST_H
11 #include "unicode/utypes.h"
13 #if !UCONFIG_NO_COLLATION
17 class LotusCollationKoreanTest
: public IntlTestCollator
{
19 // If this is too small for the test data, just increase it.
20 // Just don't make it too large, otherwise the executable will get too big
21 enum EToken_Len
{ MAX_TOKEN_LEN
= 16 };
23 LotusCollationKoreanTest();
24 virtual ~LotusCollationKoreanTest();
25 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
27 // performs test with strength TERIARY
28 void TestTertiary(/* char* par */);
31 static const UChar testSourceCases
[][MAX_TOKEN_LEN
];
32 static const UChar testTargetCases
[][MAX_TOKEN_LEN
];
33 static const Collator::EComparisonResult results
[];
35 Collator
*myCollation
;
38 #endif /* #if !UCONFIG_NO_COLLATION */