Home | History | Annotate | Download | only in src

Lines Matching full:indexof

108             assert(str0.indexOf('a') == -1);
109 assert(str3.indexOf('a') == 0);
110 assert(str3.indexOf('b') == 1);
111 assert(str3.indexOf('c') == 2);
112 assert(str10.indexOf('j') == 9);
113 assert(str40.indexOf('a') == 0);
114 assert(str40.indexOf('b') == 38);
115 assert(str40.indexOf('c') == 39);
116 assert(str0.indexOf('a',20) == -1);
117 assert(str0.indexOf('a',0) == -1);
118 assert(str0.indexOf('a',-1) == -1);
119 assert(str3.indexOf('a',0) == 0);
120 assert(str3.indexOf('a',1) == -1);
121 assert(str3.indexOf('a',1234) == -1);
122 assert(str3.indexOf('b',0) == 1);
123 assert(str3.indexOf('b',1) == 1);
124 assert(str3.indexOf('c',2) == 2);
125 assert(str10.indexOf('j',5) == 9);
126 assert(str10.indexOf('j',9) == 9);
127 assert(str40.indexOf('a',10) == 10);
128 assert(str40.indexOf('b',40) == -1);