Lines Matching refs:COMPARE
196 #define COMPARE(result, op, x, y) \ macro
201 COMPARE(true, ==, "", ""); in TEST()
202 COMPARE(true, ==, "", absl::string_view()); in TEST()
203 COMPARE(true, ==, absl::string_view(), ""); in TEST()
204 COMPARE(true, ==, "a", "a"); in TEST()
205 COMPARE(true, ==, "aa", "aa"); in TEST()
206 COMPARE(false, ==, "a", ""); in TEST()
207 COMPARE(false, ==, "", "a"); in TEST()
208 COMPARE(false, ==, "a", "b"); in TEST()
209 COMPARE(false, ==, "a", "aa"); in TEST()
210 COMPARE(false, ==, "aa", "a"); in TEST()
212 COMPARE(false, !=, "", ""); in TEST()
213 COMPARE(false, !=, "a", "a"); in TEST()
214 COMPARE(false, !=, "aa", "aa"); in TEST()
215 COMPARE(true, !=, "a", ""); in TEST()
216 COMPARE(true, !=, "", "a"); in TEST()
217 COMPARE(true, !=, "a", "b"); in TEST()
218 COMPARE(true, !=, "a", "aa"); in TEST()
219 COMPARE(true, !=, "aa", "a"); in TEST()
221 COMPARE(true, <, "a", "b"); in TEST()
222 COMPARE(true, <, "a", "aa"); in TEST()
223 COMPARE(true, <, "aa", "b"); in TEST()
224 COMPARE(true, <, "aa", "bb"); in TEST()
225 COMPARE(false, <, "a", "a"); in TEST()
226 COMPARE(false, <, "b", "a"); in TEST()
227 COMPARE(false, <, "aa", "a"); in TEST()
228 COMPARE(false, <, "b", "aa"); in TEST()
229 COMPARE(false, <, "bb", "aa"); in TEST()
231 COMPARE(true, <=, "a", "a"); in TEST()
232 COMPARE(true, <=, "a", "b"); in TEST()
233 COMPARE(true, <=, "a", "aa"); in TEST()
234 COMPARE(true, <=, "aa", "b"); in TEST()
235 COMPARE(true, <=, "aa", "bb"); in TEST()
236 COMPARE(false, <=, "b", "a"); in TEST()
237 COMPARE(false, <=, "aa", "a"); in TEST()
238 COMPARE(false, <=, "b", "aa"); in TEST()
239 COMPARE(false, <=, "bb", "aa"); in TEST()
241 COMPARE(false, >=, "a", "b"); in TEST()
242 COMPARE(false, >=, "a", "aa"); in TEST()
243 COMPARE(false, >=, "aa", "b"); in TEST()
244 COMPARE(false, >=, "aa", "bb"); in TEST()
245 COMPARE(true, >=, "a", "a"); in TEST()
246 COMPARE(true, >=, "b", "a"); in TEST()
247 COMPARE(true, >=, "aa", "a"); in TEST()
248 COMPARE(true, >=, "b", "aa"); in TEST()
249 COMPARE(true, >=, "bb", "aa"); in TEST()
251 COMPARE(false, >, "a", "a"); in TEST()
252 COMPARE(false, >, "a", "b"); in TEST()
253 COMPARE(false, >, "a", "aa"); in TEST()
254 COMPARE(false, >, "aa", "b"); in TEST()
255 COMPARE(false, >, "aa", "bb"); in TEST()
256 COMPARE(true, >, "b", "a"); in TEST()
257 COMPARE(true, >, "aa", "a"); in TEST()
258 COMPARE(true, >, "b", "aa"); in TEST()
259 COMPARE(true, >, "bb", "aa"); in TEST()
267 COMPARE(true, ==, x, y); in TEST()
271 COMPARE(false, ==, x, z); in TEST()
272 COMPARE(true, <, x, z); in TEST()
273 COMPARE(true, >, z, x); in TEST()
276 COMPARE(false, ==, x, z); in TEST()
277 COMPARE(true, <, x, z); in TEST()
278 COMPARE(true, >, z, x); in TEST()
280 COMPARE(false, ==, x, z); in TEST()
281 COMPARE(true, <, x, z); in TEST()
282 COMPARE(true, >, z, x); in TEST()
287 #undef COMPARE