1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 1997-2003, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
10 #ifndef LOTUSCOLLATIONKOREANTEST_H
11 #define LOTUSCOLLATIONKOREANTEST_H
13 #include "unicode/utypes.h"
15 #if !UCONFIG_NO_COLLATION
19 class LotusCollationKoreanTest: public IntlTestCollator {
21 // If this is too small for the test data, just increase it.
22 // Just don't make it too large, otherwise the executable will get too big
23 enum EToken_Len { MAX_TOKEN_LEN = 16 };
25 LotusCollationKoreanTest();
26 virtual ~LotusCollationKoreanTest();
27 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
29 // performs test with strength TERIARY
30 void TestTertiary(/* char* par */);
33 static const UChar testSourceCases[][MAX_TOKEN_LEN];
34 static const UChar testTargetCases[][MAX_TOKEN_LEN];
35 static const Collator::EComparisonResult results[];
37 Collator *myCollation;
40 #endif /* #if !UCONFIG_NO_COLLATION */