Home | History | Annotate | Download | only in cintltst
      1 /********************************************************************
      2  * COPYRIGHT:
      3  * Copyright (c) 1997-2003, International Business Machines Corporation and
      4  * others. All Rights Reserved.
      5  ********************************************************************/
      6 
      7 #ifndef COLLATION_TEST_DATA
      8 #define COLLATION_TEST_DATA
      9 
     10 #define COUNT_TEST_CASES 13
     11 
     12 const UChar testSourceCases[][16] = {
     13     {0x61, 0x62, 0x27, 0x63, 0},
     14     {0x63, 0x6f, 0x2d, 0x6f, 0x70, 0},
     15     {0x61, 0x62, 0},
     16     {0x61, 0x6d, 0x70, 0x65, 0x72, 0x73, 0x61, 0x64, 0},
     17     {0x61, 0x6c, 0x6c, 0},
     18     {0x66, 0x6f, 0x75, 0x72, 0},
     19     {0x66, 0x69, 0x76, 0x65, 0},
     20     {0x31, 0},
     21     {0x31, 0},
     22     {0x31, 0},                                            /*  10 */
     23     {0x32, 0},
     24     {0x32, 0},
     25     {0x48, 0x65, 0x6c, 0x6c, 0x6f, 0},
     26     {0x61, 0x3c, 0x62, 0},
     27     {0x61, 0x3c, 0x62, 0},
     28     {0x61, 0x63, 0x63, 0},
     29     {0x61, 0x63, 0x48, 0x63, 0},  /*  simple test */
     30     {0x70, 0x00EA, 0x63, 0x68, 0x65, 0},
     31     {0x61, 0x62, 0x63, 0},
     32     {0x61, 0x62, 0x63, 0},                                  /*  20 */
     33     {0x61, 0x62, 0x63, 0},
     34     {0x61, 0x62, 0x63, 0},
     35     {0x61, 0x62, 0x63, 0},
     36     {0x61, 0x00E6, 0x63, 0},
     37     {0x61, 0x63, 0x48, 0x63, 0},  /*  primary test */
     38     {0x62, 0x6c, 0x61, 0x63, 0x6b, 0},
     39     {0x66, 0x6f, 0x75, 0x72, 0},
     40     {0x66, 0x69, 0x76, 0x65, 0},
     41     {0x31, 0},
     42     {0x61, 0x62, 0x63, 0},                                        /*  30 */
     43     {0x61, 0x62, 0x63, 0},
     44     {0x61, 0x62, 0x63, 0x48, 0},
     45     {0x61, 0x62, 0x63, 0},
     46     {0x61, 0x63, 0x48, 0x63, 0},                              /*  34 */
     47     {0x61, 0x63, 0x65, 0x30},
     48     {0x31, 0x30},
     49     {0x70, 0x00EA,0x30}                                    /* 37     */
     50 };
     51 
     52 const UChar testTargetCases[][16] = {
     53     {0x61, 0x62, 0x63, 0x27, 0},
     54     {0x43, 0x4f, 0x4f, 0x50, 0},
     55     {0x61, 0x62, 0x63, 0},
     56     {0x26, 0},
     57     {0x26, 0},
     58     {0x34, 0},
     59     {0x35, 0},
     60     {0x6f, 0x6e, 0x65, 0},
     61     {0x6e, 0x6e, 0x65, 0},
     62     {0x70, 0x6e, 0x65, 0},                                  /*  10 */
     63     {0x74, 0x77, 0x6f, 0},
     64     {0x75, 0x77, 0x6f, 0},
     65     {0x68, 0x65, 0x6c, 0x6c, 0x4f, 0},
     66     {0x61, 0x3c, 0x3d, 0x62, 0},
     67     {0x61, 0x62, 0x63, 0},
     68     {0x61, 0x43, 0x48, 0x63, 0},
     69     {0x61, 0x43, 0x48, 0x63, 0},  /*  simple test */
     70     {0x70, (UChar)0x00E9, 0x63, 0x68, 0x00E9, 0},
     71     {0x61, 0x62, 0x63, 0},
     72     {0x61, 0x42, 0x43, 0},                                  /*  20 */
     73     {0x61, 0x62, 0x63, 0x68, 0},
     74     {0x61, 0x62, 0x64, 0},
     75     {(UChar)0x00E4, 0x62, 0x63, 0},
     76     {0x61, (UChar)0x00C6, 0x63, 0},
     77     {0x61, 0x43, 0x48, 0x63, 0},  /*  primary test */
     78     {0x62, 0x6c, 0x61, 0x63, 0x6b, 0x2d, 0x62, 0x69, 0x72, 0x64, 0},
     79     {0x34, 0},
     80     {0x35, 0},
     81     {0x6f, 0x6e, 0x65, 0},
     82     {0x61, 0x62, 0x63, 0},
     83     {0x61, 0x42, 0x63, 0},                                  /*  30 */
     84     {0x61, 0x62, 0x63, 0x68, 0},
     85     {0x61, 0x62, 0x64, 0},
     86     {0x61, 0x43, 0x48, 0x63, 0},                                /*  34 */
     87     {0x61, 0x63, 0x65, 0x30},
     88     {0x31, 0x30},
     89     {0x70, (UChar)0x00EB,0x30}                                    /* 37 */
     90 };
     91 
     92 const UChar testCases[][4] =
     93 {
     94     {0x61, 0},
     95     {0x41, 0},
     96     {0x00e4, 0},
     97     {0x00c4, 0},
     98     {0x61, 0x65, 0},
     99     {0x61, 0x45, 0},
    100     {0x41, 0x65, 0},
    101     {0x41, 0x45, 0},
    102     {(UChar)0x00e6, 0},
    103     {(UChar)0x00c6, 0},
    104     {0x62, 0},
    105     {0x63, 0},
    106     {0x7a, 0}
    107 };
    108 
    109 #endif  /* #ifndef COLLATION_TEST_DATA */
    110