Lines Matching refs:y

221 test(const std::basic_string<CharT>& x, const std::basic_string<CharT>& y, bool doCStrTests = true)  in test()  argument
230 sm2.first = y.begin(); in test()
231 sm2.second = y.end(); 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()
245 assert((sm1 == y) == (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()
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()
258 assert((sm1 == y.c_str()) == (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()
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()
271 assert((sm1 == y[0]) == (x == string(1, y[0]))); 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()