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