Lines Matching defs:input2
24 static const UNIT input2[] = { 'b' };
25 ASSERT (U_CMP2 (input1, 0, input2, 0) == 0);
26 ASSERT (U_CMP2 (input1, 1, input2, 0) > 0);
27 ASSERT (U_CMP2 (input1, 0, input2, 1) < 0);
31 static const UNIT input2[] = { 'f', 'o', 'o', 'b', 'a', 'r', 0 };
32 ASSERT (U_CMP2 (input1, 3, input2, 3) == 0);
33 ASSERT (U_CMP2 (input1, 4, input2, 3) > 0);
34 ASSERT (U_CMP2 (input2, 3, input1, 4) < 0);
35 ASSERT (U_CMP2 (input1, 3, input2, 4) < 0);
36 ASSERT (U_CMP2 (input2, 4, input1, 3) > 0);
37 ASSERT (U_CMP2 (input1, 4, input2, 4) < 0);
38 ASSERT (U_CMP2 (input2, 4, input1, 4) > 0);
39 ASSERT (U_CMP2 (input1, 3, input2, 7) < 0);
40 ASSERT (U_CMP2 (input2, 7, input1, 3) > 0);
44 static const UNIT input2[] = { 'm', 'o', 'o' };
45 ASSERT (U_CMP2 (input1, 3, input2, 3) < 0);
46 ASSERT (U_CMP2 (input2, 3, input1, 3) > 0);
50 static const UNIT input2[] = { 'o', 'o', 'p', 's' };
51 ASSERT (U_CMP2 (input1, 5, input2, 4) < 0);
52 ASSERT (U_CMP2 (input2, 4, input1, 5) > 0);