Lines Matching defs:sm2
230 sub_match sm2;
231 sm2.first = y.begin();
232 sm2.second = y.end();
233 sm2.matched = true;
234 assert((sm1 == sm2) == (x == y));
235 assert((sm1 != sm2) == (x != y));
236 assert((sm1 < sm2) == (x < y));
237 assert((sm1 > sm2) == (x > y));
238 assert((sm1 <= sm2) == (x <= y));
239 assert((sm1 >= sm2) == (x >= y));
240 assert((x == sm2) == (x == y));
241 assert((x != sm2) == (x != y));
242 assert((x < sm2) == (x < y));
243 assert((x > sm2) == (x > y));
244 assert((x <= sm2) == (x <= y));
245 assert((x >= sm2) == (x >= y));
253 assert((x.c_str() == sm2) == (x == y));
254 assert((x.c_str() != sm2) == (x != y));
255 assert((x.c_str() < sm2) == (x < y));
256 assert((x.c_str() > sm2) == (x > y));
257 assert((x.c_str() <= sm2) == (x <= y));
258 assert((x.c_str() >= sm2) == (x >= y));
266 assert((x[0] == sm2) == (string(1, x[0]) == y));
267 assert((x[0] != sm2) == (string(1, x[0]) != y));
268 assert((x[0] < sm2) == (string(1, x[0]) < y));
269 assert((x[0] > sm2) == (string(1, x[0]) > y));
270 assert((x[0] <= sm2) == (string(1, x[0]) <= y));
271 assert((x[0] >= sm2) == (string(1, x[0]) >= y));