Lines Matching refs:sm1
226 sub_match sm1; in test() local
227 sm1.first = x.begin(); in test()
228 sm1.second = x.end(); in test()
229 sm1.matched = true; 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((sm1 >= sm2) == (x >= y)); in test()
246 assert((sm1 == y) == (x == y)); in test()
247 assert((sm1 != y) == (x != y)); in test()
248 assert((sm1 < y) == (x < y)); in test()
249 assert((sm1 > y) == (x > y)); in test()
250 assert((sm1 <= y) == (x <= y)); in test()
251 assert((sm1 >= y) == (x >= y)); in test()
259 assert((sm1 == y.c_str()) == (x == y)); in test()
260 assert((sm1 != y.c_str()) == (x != y)); in test()
261 assert((sm1 < y.c_str()) == (x < y)); in test()
262 assert((sm1 > y.c_str()) == (x > y)); in test()
263 assert((sm1 <= y.c_str()) == (x <= y)); in test()
264 assert((sm1 >= y.c_str()) == (x >= y)); in test()
272 assert((sm1 == y[0]) == (x == string(1, y[0]))); in test()
273 assert((sm1 != y[0]) == (x != string(1, y[0]))); in test()
274 assert((sm1 < y[0]) == (x < string(1, y[0]))); in test()
275 assert((sm1 > y[0]) == (x > string(1, y[0]))); in test()
276 assert((sm1 <= y[0]) == (x <= string(1, y[0]))); in test()
277 assert((sm1 >= y[0]) == (x >= string(1, y[0]))); in test()