Lines Matching defs:test2
552 UChar* test2;
562 test2=(UChar*)malloc(sizeof(UChar) * 6);
564 u_uastrcpy(test2, "abcda");
568 doAssert( (!ucol_equal(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"Abcda\" != \"abcda\" ");
569 doAssert( (ucol_greater(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"Abcda\" >>> \"abcda\" ");
570 doAssert( (ucol_greaterOrEqual(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"Abcda\" >>> \"abcda\"");
575 doAssert( (ucol_equal(col, test1, u_strlen(test1), test2, u_strlen(test2) )), "Result should be \"Abcda\" == \"abcda\"");
576 doAssert( (!ucol_greater(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"Abcda\" == \"abcda\"");
577 doAssert( (ucol_greaterOrEqual(col, test1, u_strlen(test1), test2, u_strlen(test2) )), "Result should be \"Abcda\" == \"abcda\"");
582 doAssert( (ucol_equal(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"Abcda\" == \"abcda\"");
583 doAssert( (!ucol_greater(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"Abcda\" == \"abcda\"");
584 doAssert( (ucol_greaterOrEqual(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"Abcda\" == \"abcda\"");
590 free(test2);
638 UChar test2[6];
652 u_uastrcpy(test2, "abcda");
780 doAssert( (ucol_equal(someCollators[idx], test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"abcda\" == \"abCda\"");
787 doAssert( (ucol_greater(someClonedCollators[idx], test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"abCda\" >>> \"abcda\" ");
1055 UChar *test1, *test2, *test3;
1093 test2=(UChar*)malloc(sizeof(UChar) * 6);
1097 memset(test2,0xFE, sizeof(UChar)*6);
1102 u_uastrcpy(test2, "abcda");
1112 sortklen=ucol_getSortKey(col, test2, u_strlen(test2), NULL, 0);
1115 ucol_getSortKey(col, test2, u_strlen(test2), sortk2, sortklen+1);
1118 sortklen=ucol_getSortKey(col, test2, u_strlen(test3), NULL, 0);
1121 ucol_getSortKey(col, test2, u_strlen(test2), sortk3, sortklen+1);
1161 sortklen=ucol_getSortKey(col, test2, u_strlen(test2), NULL, 0);
1163 ucol_getSortKey(col, test2, u_strlen(test2), sortk2, sortklen+1);
1189 free(test2);
1200 UChar *test1, *test2, *test3;
1209 test2=(UChar*)malloc(sizeof(UChar) * 6);
1212 u_uastrcpy(test2, "abcda");
1219 sortk2len=ucol_getSortKey(col, test2, u_strlen(test2), NULL, 0);
1221 ucol_getSortKey(col, test2, u_strlen(test2), sortk2, sortk2len+1);
1222 sortk3len=ucol_getSortKey(col, test2, u_strlen(test3), NULL, 0);
1224 ucol_getSortKey(col, test2, u_strlen(test2), sortk3, sortk3len+1);
1230 doAssert( !(ucol_keyHashCode(sortk1, sortk1len) == ucol_keyHashCode(sortk2, sortk2len)), "Hash test2 result incorrect" );
1239 free(test2);