• Home
  • Raw
  • Download

Lines Matching refs:absl

34   EXPECT_TRUE(absl::ParseFlag("True", &value, &err));  in TEST()
36 EXPECT_TRUE(absl::ParseFlag("true", &value, &err)); in TEST()
38 EXPECT_TRUE(absl::ParseFlag("TRUE", &value, &err)); in TEST()
41 EXPECT_TRUE(absl::ParseFlag("Yes", &value, &err)); in TEST()
43 EXPECT_TRUE(absl::ParseFlag("yes", &value, &err)); in TEST()
45 EXPECT_TRUE(absl::ParseFlag("YES", &value, &err)); in TEST()
48 EXPECT_TRUE(absl::ParseFlag("t", &value, &err)); in TEST()
50 EXPECT_TRUE(absl::ParseFlag("T", &value, &err)); in TEST()
53 EXPECT_TRUE(absl::ParseFlag("y", &value, &err)); in TEST()
55 EXPECT_TRUE(absl::ParseFlag("Y", &value, &err)); in TEST()
58 EXPECT_TRUE(absl::ParseFlag("1", &value, &err)); in TEST()
62 EXPECT_TRUE(absl::ParseFlag("False", &value, &err)); in TEST()
64 EXPECT_TRUE(absl::ParseFlag("false", &value, &err)); in TEST()
66 EXPECT_TRUE(absl::ParseFlag("FALSE", &value, &err)); in TEST()
69 EXPECT_TRUE(absl::ParseFlag("No", &value, &err)); in TEST()
71 EXPECT_TRUE(absl::ParseFlag("no", &value, &err)); in TEST()
73 EXPECT_TRUE(absl::ParseFlag("NO", &value, &err)); in TEST()
76 EXPECT_TRUE(absl::ParseFlag("f", &value, &err)); in TEST()
78 EXPECT_TRUE(absl::ParseFlag("F", &value, &err)); in TEST()
81 EXPECT_TRUE(absl::ParseFlag("n", &value, &err)); in TEST()
83 EXPECT_TRUE(absl::ParseFlag("N", &value, &err)); in TEST()
86 EXPECT_TRUE(absl::ParseFlag("0", &value, &err)); in TEST()
90 EXPECT_TRUE(absl::ParseFlag(" true", &value, &err)); in TEST()
92 EXPECT_TRUE(absl::ParseFlag("true ", &value, &err)); in TEST()
94 EXPECT_TRUE(absl::ParseFlag(" true ", &value, &err)); in TEST()
98 EXPECT_FALSE(absl::ParseFlag("", &value, &err)); in TEST()
99 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
100 EXPECT_FALSE(absl::ParseFlag("\n", &value, &err)); in TEST()
101 EXPECT_FALSE(absl::ParseFlag("\t", &value, &err)); in TEST()
102 EXPECT_FALSE(absl::ParseFlag("2", &value, &err)); in TEST()
103 EXPECT_FALSE(absl::ParseFlag("11", &value, &err)); in TEST()
104 EXPECT_FALSE(absl::ParseFlag("tt", &value, &err)); in TEST()
114 EXPECT_TRUE(absl::ParseFlag("1", &value, &err)); in TEST()
116 EXPECT_TRUE(absl::ParseFlag("0", &value, &err)); in TEST()
118 EXPECT_TRUE(absl::ParseFlag("-1", &value, &err)); in TEST()
120 EXPECT_TRUE(absl::ParseFlag("123", &value, &err)); in TEST()
122 EXPECT_TRUE(absl::ParseFlag("-18765", &value, &err)); in TEST()
124 EXPECT_TRUE(absl::ParseFlag("+3", &value, &err)); in TEST()
128 EXPECT_TRUE(absl::ParseFlag("01", &value, &err)); in TEST()
130 EXPECT_TRUE(absl::ParseFlag("-001", &value, &err)); in TEST()
132 EXPECT_TRUE(absl::ParseFlag("0000100", &value, &err)); in TEST()
136 EXPECT_TRUE(absl::ParseFlag("0x10", &value, &err)); in TEST()
138 EXPECT_TRUE(absl::ParseFlag("0X234", &value, &err)); in TEST()
141 EXPECT_FALSE(absl::ParseFlag("-0x7FFD", &value, &err)); in TEST()
143 EXPECT_FALSE(absl::ParseFlag("+0x31", &value, &err)); in TEST()
147 EXPECT_TRUE(absl::ParseFlag("10 ", &value, &err)); in TEST()
149 EXPECT_TRUE(absl::ParseFlag(" 11", &value, &err)); in TEST()
151 EXPECT_TRUE(absl::ParseFlag(" 012 ", &value, &err)); in TEST()
153 EXPECT_TRUE(absl::ParseFlag(" 0x22 ", &value, &err)); in TEST()
157 EXPECT_FALSE(absl::ParseFlag("", &value, &err)); in TEST()
158 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
159 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
160 EXPECT_FALSE(absl::ParseFlag("40000", &value, &err)); in TEST()
161 EXPECT_FALSE(absl::ParseFlag("--1", &value, &err)); in TEST()
162 EXPECT_FALSE(absl::ParseFlag("\n", &value, &err)); in TEST()
163 EXPECT_FALSE(absl::ParseFlag("\t", &value, &err)); in TEST()
164 EXPECT_FALSE(absl::ParseFlag("2U", &value, &err)); in TEST()
165 EXPECT_FALSE(absl::ParseFlag("FFF", &value, &err)); in TEST()
175 EXPECT_TRUE(absl::ParseFlag("1", &value, &err)); in TEST()
177 EXPECT_TRUE(absl::ParseFlag("0", &value, &err)); in TEST()
179 EXPECT_TRUE(absl::ParseFlag("123", &value, &err)); in TEST()
181 EXPECT_TRUE(absl::ParseFlag("+3", &value, &err)); in TEST()
185 EXPECT_TRUE(absl::ParseFlag("01", &value, &err)); in TEST()
187 EXPECT_TRUE(absl::ParseFlag("001", &value, &err)); in TEST()
189 EXPECT_TRUE(absl::ParseFlag("0000100", &value, &err)); in TEST()
193 EXPECT_TRUE(absl::ParseFlag("0x10", &value, &err)); in TEST()
195 EXPECT_TRUE(absl::ParseFlag("0X234", &value, &err)); in TEST()
198 EXPECT_FALSE(absl::ParseFlag("+0x31", &value, &err)); in TEST()
202 EXPECT_TRUE(absl::ParseFlag("10 ", &value, &err)); in TEST()
204 EXPECT_TRUE(absl::ParseFlag(" 11", &value, &err)); in TEST()
206 EXPECT_TRUE(absl::ParseFlag(" 012 ", &value, &err)); in TEST()
208 EXPECT_TRUE(absl::ParseFlag(" 0x22 ", &value, &err)); in TEST()
212 EXPECT_FALSE(absl::ParseFlag("", &value, &err)); in TEST()
213 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
214 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
215 EXPECT_FALSE(absl::ParseFlag("70000", &value, &err)); in TEST()
216 EXPECT_FALSE(absl::ParseFlag("-1", &value, &err)); in TEST()
217 EXPECT_FALSE(absl::ParseFlag("--1", &value, &err)); in TEST()
218 EXPECT_FALSE(absl::ParseFlag("\n", &value, &err)); in TEST()
219 EXPECT_FALSE(absl::ParseFlag("\t", &value, &err)); in TEST()
220 EXPECT_FALSE(absl::ParseFlag("2U", &value, &err)); in TEST()
221 EXPECT_FALSE(absl::ParseFlag("FFF", &value, &err)); in TEST()
231 EXPECT_TRUE(absl::ParseFlag("1", &value, &err)); in TEST()
233 EXPECT_TRUE(absl::ParseFlag("0", &value, &err)); in TEST()
235 EXPECT_TRUE(absl::ParseFlag("-1", &value, &err)); in TEST()
237 EXPECT_TRUE(absl::ParseFlag("123", &value, &err)); in TEST()
239 EXPECT_TRUE(absl::ParseFlag("-98765", &value, &err)); in TEST()
241 EXPECT_TRUE(absl::ParseFlag("+3", &value, &err)); in TEST()
245 EXPECT_TRUE(absl::ParseFlag("01", &value, &err)); in TEST()
247 EXPECT_TRUE(absl::ParseFlag("-001", &value, &err)); in TEST()
249 EXPECT_TRUE(absl::ParseFlag("0000100", &value, &err)); in TEST()
253 EXPECT_TRUE(absl::ParseFlag("0x10", &value, &err)); in TEST()
255 EXPECT_TRUE(absl::ParseFlag("0X234", &value, &err)); in TEST()
258 EXPECT_FALSE(absl::ParseFlag("-0x7FFFFFFD", &value, &err)); in TEST()
260 EXPECT_FALSE(absl::ParseFlag("+0x31", &value, &err)); in TEST()
264 EXPECT_TRUE(absl::ParseFlag("10 ", &value, &err)); in TEST()
266 EXPECT_TRUE(absl::ParseFlag(" 11", &value, &err)); in TEST()
268 EXPECT_TRUE(absl::ParseFlag(" 012 ", &value, &err)); in TEST()
270 EXPECT_TRUE(absl::ParseFlag(" 0x22 ", &value, &err)); in TEST()
274 EXPECT_FALSE(absl::ParseFlag("", &value, &err)); in TEST()
275 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
276 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
277 EXPECT_FALSE(absl::ParseFlag("70000000000", &value, &err)); in TEST()
278 EXPECT_FALSE(absl::ParseFlag("--1", &value, &err)); in TEST()
279 EXPECT_FALSE(absl::ParseFlag("\n", &value, &err)); in TEST()
280 EXPECT_FALSE(absl::ParseFlag("\t", &value, &err)); in TEST()
281 EXPECT_FALSE(absl::ParseFlag("2U", &value, &err)); in TEST()
282 EXPECT_FALSE(absl::ParseFlag("FFF", &value, &err)); in TEST()
292 EXPECT_TRUE(absl::ParseFlag("1", &value, &err)); in TEST()
294 EXPECT_TRUE(absl::ParseFlag("0", &value, &err)); in TEST()
296 EXPECT_TRUE(absl::ParseFlag("123", &value, &err)); in TEST()
298 EXPECT_TRUE(absl::ParseFlag("+3", &value, &err)); in TEST()
302 EXPECT_TRUE(absl::ParseFlag("01", &value, &err)); in TEST()
304 EXPECT_TRUE(absl::ParseFlag("0000100", &value, &err)); in TEST()
308 EXPECT_TRUE(absl::ParseFlag("0x10", &value, &err)); in TEST()
310 EXPECT_TRUE(absl::ParseFlag("0X234", &value, &err)); in TEST()
312 EXPECT_TRUE(absl::ParseFlag("0xFFFFFFFD", &value, &err)); in TEST()
315 EXPECT_FALSE(absl::ParseFlag("+0x31", &value, &err)); in TEST()
319 EXPECT_TRUE(absl::ParseFlag("10 ", &value, &err)); in TEST()
321 EXPECT_TRUE(absl::ParseFlag(" 11", &value, &err)); in TEST()
323 EXPECT_TRUE(absl::ParseFlag(" 012 ", &value, &err)); in TEST()
325 EXPECT_TRUE(absl::ParseFlag(" 0x22 ", &value, &err)); in TEST()
329 EXPECT_FALSE(absl::ParseFlag("", &value, &err)); in TEST()
330 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
331 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
332 EXPECT_FALSE(absl::ParseFlag("140000000000", &value, &err)); in TEST()
333 EXPECT_FALSE(absl::ParseFlag("-1", &value, &err)); in TEST()
334 EXPECT_FALSE(absl::ParseFlag("--1", &value, &err)); in TEST()
335 EXPECT_FALSE(absl::ParseFlag("\n", &value, &err)); in TEST()
336 EXPECT_FALSE(absl::ParseFlag("\t", &value, &err)); in TEST()
337 EXPECT_FALSE(absl::ParseFlag("2U", &value, &err)); in TEST()
338 EXPECT_FALSE(absl::ParseFlag("FFF", &value, &err)); in TEST()
348 EXPECT_TRUE(absl::ParseFlag("1", &value, &err)); in TEST()
350 EXPECT_TRUE(absl::ParseFlag("0", &value, &err)); in TEST()
352 EXPECT_TRUE(absl::ParseFlag("-1", &value, &err)); in TEST()
354 EXPECT_TRUE(absl::ParseFlag("123", &value, &err)); in TEST()
356 EXPECT_TRUE(absl::ParseFlag("-98765", &value, &err)); in TEST()
358 EXPECT_TRUE(absl::ParseFlag("+3", &value, &err)); in TEST()
362 EXPECT_TRUE(absl::ParseFlag("01", &value, &err)); in TEST()
364 EXPECT_TRUE(absl::ParseFlag("001", &value, &err)); in TEST()
366 EXPECT_TRUE(absl::ParseFlag("0000100", &value, &err)); in TEST()
370 EXPECT_TRUE(absl::ParseFlag("0x10", &value, &err)); in TEST()
372 EXPECT_TRUE(absl::ParseFlag("0XFFFAAABBBCCCDDD", &value, &err)); in TEST()
375 EXPECT_FALSE(absl::ParseFlag("-0x7FFFFFFFFFFFFFFE", &value, &err)); in TEST()
377 EXPECT_FALSE(absl::ParseFlag("+0x31", &value, &err)); in TEST()
381 EXPECT_TRUE(absl::ParseFlag("10 ", &value, &err)); in TEST()
383 EXPECT_TRUE(absl::ParseFlag(" 11", &value, &err)); in TEST()
385 EXPECT_TRUE(absl::ParseFlag(" 012 ", &value, &err)); in TEST()
387 EXPECT_TRUE(absl::ParseFlag(" 0x7F ", &value, &err)); in TEST()
391 EXPECT_FALSE(absl::ParseFlag("", &value, &err)); in TEST()
392 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
393 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
394 EXPECT_FALSE(absl::ParseFlag("0xFFFFFFFFFFFFFFFFFF", &value, &err)); in TEST()
395 EXPECT_FALSE(absl::ParseFlag("--1", &value, &err)); in TEST()
396 EXPECT_FALSE(absl::ParseFlag("\n", &value, &err)); in TEST()
397 EXPECT_FALSE(absl::ParseFlag("\t", &value, &err)); in TEST()
398 EXPECT_FALSE(absl::ParseFlag("2U", &value, &err)); in TEST()
399 EXPECT_FALSE(absl::ParseFlag("FFF", &value, &err)); in TEST()
409 EXPECT_TRUE(absl::ParseFlag("1", &value, &err)); in TEST()
411 EXPECT_TRUE(absl::ParseFlag("0", &value, &err)); in TEST()
413 EXPECT_TRUE(absl::ParseFlag("123", &value, &err)); in TEST()
415 EXPECT_TRUE(absl::ParseFlag("+13", &value, &err)); in TEST()
419 EXPECT_TRUE(absl::ParseFlag("01", &value, &err)); in TEST()
421 EXPECT_TRUE(absl::ParseFlag("001", &value, &err)); in TEST()
423 EXPECT_TRUE(absl::ParseFlag("0000300", &value, &err)); in TEST()
427 EXPECT_TRUE(absl::ParseFlag("0x10", &value, &err)); in TEST()
429 EXPECT_TRUE(absl::ParseFlag("0XFFFF", &value, &err)); in TEST()
432 EXPECT_FALSE(absl::ParseFlag("+0x31", &value, &err)); in TEST()
436 EXPECT_TRUE(absl::ParseFlag("10 ", &value, &err)); in TEST()
438 EXPECT_TRUE(absl::ParseFlag(" 11", &value, &err)); in TEST()
440 EXPECT_TRUE(absl::ParseFlag(" 012 ", &value, &err)); in TEST()
444 EXPECT_FALSE(absl::ParseFlag("", &value, &err)); in TEST()
445 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
446 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
447 EXPECT_FALSE(absl::ParseFlag("0xFFFFFFFFFFFFFFFFFF", &value, &err)); in TEST()
448 EXPECT_FALSE(absl::ParseFlag("-1", &value, &err)); in TEST()
449 EXPECT_FALSE(absl::ParseFlag("--1", &value, &err)); in TEST()
450 EXPECT_FALSE(absl::ParseFlag("\n", &value, &err)); in TEST()
451 EXPECT_FALSE(absl::ParseFlag("\t", &value, &err)); in TEST()
452 EXPECT_FALSE(absl::ParseFlag("2U", &value, &err)); in TEST()
453 EXPECT_FALSE(absl::ParseFlag("FFF", &value, &err)); in TEST()
463 EXPECT_TRUE(absl::ParseFlag("1.3", &value, &err)); in TEST()
465 EXPECT_TRUE(absl::ParseFlag("-0.1", &value, &err)); in TEST()
467 EXPECT_TRUE(absl::ParseFlag("+0.01", &value, &err)); in TEST()
471 EXPECT_TRUE(absl::ParseFlag("1.2e3", &value, &err)); in TEST()
473 EXPECT_TRUE(absl::ParseFlag("9.8765402e-37", &value, &err)); in TEST()
475 EXPECT_TRUE(absl::ParseFlag("0.11e+3", &value, &err)); in TEST()
477 EXPECT_TRUE(absl::ParseFlag("1.e-2300", &value, &err)); in TEST()
479 EXPECT_TRUE(absl::ParseFlag("1.e+2300", &value, &err)); in TEST()
483 EXPECT_TRUE(absl::ParseFlag("01.6", &value, &err)); in TEST()
485 EXPECT_TRUE(absl::ParseFlag("000.0001", &value, &err)); in TEST()
489 EXPECT_TRUE(absl::ParseFlag("-5.1000", &value, &err)); in TEST()
493 EXPECT_TRUE(absl::ParseFlag("NaN", &value, &err)); in TEST()
495 EXPECT_TRUE(absl::ParseFlag("Inf", &value, &err)); in TEST()
499 EXPECT_TRUE(absl::ParseFlag("0x10.23p12", &value, &err)); in TEST()
501 EXPECT_TRUE(absl::ParseFlag("-0xF1.A3p-2", &value, &err)); in TEST()
503 EXPECT_TRUE(absl::ParseFlag("+0x0.0AAp-12", &value, &err)); in TEST()
505 EXPECT_TRUE(absl::ParseFlag("0x.01p1", &value, &err)); in TEST()
509 EXPECT_TRUE(absl::ParseFlag("10.1 ", &value, &err)); in TEST()
511 EXPECT_TRUE(absl::ParseFlag(" 2.34", &value, &err)); in TEST()
513 EXPECT_TRUE(absl::ParseFlag(" 5.7 ", &value, &err)); in TEST()
515 EXPECT_TRUE(absl::ParseFlag(" -0xE0.F3p01 ", &value, &err)); in TEST()
519 EXPECT_FALSE(absl::ParseFlag("", &value, &err)); in TEST()
520 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
521 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
522 EXPECT_FALSE(absl::ParseFlag("--1", &value, &err)); in TEST()
523 EXPECT_FALSE(absl::ParseFlag("\n", &value, &err)); in TEST()
524 EXPECT_FALSE(absl::ParseFlag("\t", &value, &err)); in TEST()
525 EXPECT_FALSE(absl::ParseFlag("2.3xxx", &value, &err)); in TEST()
526 EXPECT_FALSE(absl::ParseFlag("0x0.1pAA", &value, &err)); in TEST()
528 EXPECT_TRUE(absl::ParseFlag("0x0.1", &value, &err)); in TEST()
538 EXPECT_TRUE(absl::ParseFlag("1.3", &value, &err)); in TEST()
540 EXPECT_TRUE(absl::ParseFlag("-0.1", &value, &err)); in TEST()
542 EXPECT_TRUE(absl::ParseFlag("+0.01", &value, &err)); in TEST()
546 EXPECT_TRUE(absl::ParseFlag("1.2e3", &value, &err)); in TEST()
548 EXPECT_TRUE(absl::ParseFlag("9.00000002e-123", &value, &err)); in TEST()
550 EXPECT_TRUE(absl::ParseFlag("0.11e+3", &value, &err)); in TEST()
552 EXPECT_TRUE(absl::ParseFlag("1.e-2300", &value, &err)); in TEST()
554 EXPECT_TRUE(absl::ParseFlag("1.e+2300", &value, &err)); in TEST()
558 EXPECT_TRUE(absl::ParseFlag("01.6", &value, &err)); in TEST()
560 EXPECT_TRUE(absl::ParseFlag("000.0001", &value, &err)); in TEST()
564 EXPECT_TRUE(absl::ParseFlag("-5.1000", &value, &err)); in TEST()
568 EXPECT_TRUE(absl::ParseFlag("NaN", &value, &err)); in TEST()
570 EXPECT_TRUE(absl::ParseFlag("nan", &value, &err)); in TEST()
572 EXPECT_TRUE(absl::ParseFlag("Inf", &value, &err)); in TEST()
574 EXPECT_TRUE(absl::ParseFlag("inf", &value, &err)); in TEST()
578 EXPECT_TRUE(absl::ParseFlag("0x10.23p12", &value, &err)); in TEST()
580 EXPECT_TRUE(absl::ParseFlag("-0xF1.A3p-2", &value, &err)); in TEST()
582 EXPECT_TRUE(absl::ParseFlag("+0x0.0AAp-12", &value, &err)); in TEST()
584 EXPECT_TRUE(absl::ParseFlag("0x.01p1", &value, &err)); in TEST()
588 EXPECT_TRUE(absl::ParseFlag("10.1 ", &value, &err)); in TEST()
590 EXPECT_TRUE(absl::ParseFlag(" 2.34", &value, &err)); in TEST()
592 EXPECT_TRUE(absl::ParseFlag(" 5.7 ", &value, &err)); in TEST()
594 EXPECT_TRUE(absl::ParseFlag(" -0xE0.F3p01 ", &value, &err)); in TEST()
598 EXPECT_FALSE(absl::ParseFlag("", &value, &err)); in TEST()
599 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
600 EXPECT_FALSE(absl::ParseFlag(" ", &value, &err)); in TEST()
601 EXPECT_FALSE(absl::ParseFlag("--1", &value, &err)); in TEST()
602 EXPECT_FALSE(absl::ParseFlag("\n", &value, &err)); in TEST()
603 EXPECT_FALSE(absl::ParseFlag("\t", &value, &err)); in TEST()
604 EXPECT_FALSE(absl::ParseFlag("2.3xxx", &value, &err)); in TEST()
605 EXPECT_FALSE(absl::ParseFlag("0x0.1pAA", &value, &err)); in TEST()
607 EXPECT_TRUE(absl::ParseFlag("0x0.1", &value, &err)); in TEST()
616 EXPECT_TRUE(absl::ParseFlag("", &value, &err)); in TEST()
618 EXPECT_TRUE(absl::ParseFlag(" ", &value, &err)); in TEST()
620 EXPECT_TRUE(absl::ParseFlag(" ", &value, &err)); in TEST()
622 EXPECT_TRUE(absl::ParseFlag("\n", &value, &err)); in TEST()
624 EXPECT_TRUE(absl::ParseFlag("\t", &value, &err)); in TEST()
626 EXPECT_TRUE(absl::ParseFlag("asdfg", &value, &err)); in TEST()
628 EXPECT_TRUE(absl::ParseFlag("asdf ghjk", &value, &err)); in TEST()
630 EXPECT_TRUE(absl::ParseFlag("a\nb\nc", &value, &err)); in TEST()
632 EXPECT_TRUE(absl::ParseFlag("asd\0fgh", &value, &err)); in TEST()
634 EXPECT_TRUE(absl::ParseFlag("\\\\", &value, &err)); in TEST()
644 EXPECT_TRUE(absl::ParseFlag("", &value, &err)); in TEST()
646 EXPECT_TRUE(absl::ParseFlag("1", &value, &err)); in TEST()
648 EXPECT_TRUE(absl::ParseFlag("a,b", &value, &err)); in TEST()
650 EXPECT_TRUE(absl::ParseFlag("a,b,c,", &value, &err)); in TEST()
652 EXPECT_TRUE(absl::ParseFlag("a,,", &value, &err)); in TEST()
654 EXPECT_TRUE(absl::ParseFlag(",", &value, &err)); in TEST()
656 EXPECT_TRUE(absl::ParseFlag("a, b,c ", &value, &err)); in TEST()
663 EXPECT_EQ(absl::UnparseFlag(true), "true"); in TEST()
664 EXPECT_EQ(absl::UnparseFlag(false), "false"); in TEST()
673 EXPECT_EQ(absl::UnparseFlag(value), "1"); in TEST()
675 EXPECT_EQ(absl::UnparseFlag(value), "0"); in TEST()
677 EXPECT_EQ(absl::UnparseFlag(value), "-1"); in TEST()
679 EXPECT_EQ(absl::UnparseFlag(value), "9876"); in TEST()
681 EXPECT_EQ(absl::UnparseFlag(value), "-987"); in TEST()
690 EXPECT_EQ(absl::UnparseFlag(value), "1"); in TEST()
692 EXPECT_EQ(absl::UnparseFlag(value), "0"); in TEST()
694 EXPECT_EQ(absl::UnparseFlag(value), "19876"); in TEST()
703 EXPECT_EQ(absl::UnparseFlag(value), "1"); in TEST()
705 EXPECT_EQ(absl::UnparseFlag(value), "0"); in TEST()
707 EXPECT_EQ(absl::UnparseFlag(value), "-1"); in TEST()
709 EXPECT_EQ(absl::UnparseFlag(value), "12345"); in TEST()
711 EXPECT_EQ(absl::UnparseFlag(value), "-987"); in TEST()
720 EXPECT_EQ(absl::UnparseFlag(value), "1"); in TEST()
722 EXPECT_EQ(absl::UnparseFlag(value), "0"); in TEST()
724 EXPECT_EQ(absl::UnparseFlag(value), "1234500"); in TEST()
733 EXPECT_EQ(absl::UnparseFlag(value), "1"); in TEST()
735 EXPECT_EQ(absl::UnparseFlag(value), "0"); in TEST()
737 EXPECT_EQ(absl::UnparseFlag(value), "-1"); in TEST()
739 EXPECT_EQ(absl::UnparseFlag(value), "123456789"); in TEST()
741 EXPECT_EQ(absl::UnparseFlag(value), "-987654321"); in TEST()
743 EXPECT_EQ(absl::UnparseFlag(value), "9223372036854775807"); in TEST()
745 EXPECT_EQ(absl::UnparseFlag(value), "-1"); in TEST()
754 EXPECT_EQ(absl::UnparseFlag(value), "1"); in TEST()
756 EXPECT_EQ(absl::UnparseFlag(value), "0"); in TEST()
758 EXPECT_EQ(absl::UnparseFlag(value), "123456789"); in TEST()
760 EXPECT_EQ(absl::UnparseFlag(value), "18446744073709551615"); in TEST()
769 EXPECT_EQ(absl::UnparseFlag(value), "1.1"); in TEST()
771 EXPECT_EQ(absl::UnparseFlag(value), "0.01"); in TEST()
773 EXPECT_EQ(absl::UnparseFlag(value), "0.0123"); in TEST()
775 EXPECT_EQ(absl::UnparseFlag(value), "-0.71"); in TEST()
784 EXPECT_EQ(absl::UnparseFlag(value), "1.1"); in TEST()
786 EXPECT_EQ(absl::UnparseFlag(value), "0.01"); in TEST()
788 EXPECT_EQ(absl::UnparseFlag(value), "0.0123"); in TEST()
790 EXPECT_EQ(absl::UnparseFlag(value), "-0.71"); in TEST()
792 EXPECT_EQ(absl::UnparseFlag(value), "0"); in TEST()
794 EXPECT_EQ(absl::UnparseFlag(value), "nan"); in TEST()
796 EXPECT_EQ(absl::UnparseFlag(value), "inf"); in TEST()
802 EXPECT_EQ(absl::UnparseFlag(""), ""); in TEST()
803 EXPECT_EQ(absl::UnparseFlag(" "), " "); in TEST()
804 EXPECT_EQ(absl::UnparseFlag("qwerty"), "qwerty"); in TEST()
805 EXPECT_EQ(absl::UnparseFlag("ASDFGH"), "ASDFGH"); in TEST()
806 EXPECT_EQ(absl::UnparseFlag("\n\t "), "\n\t "); in TEST()
815 EXPECT_TRUE(absl::ParseFlag(absl::UnparseFlag(v), &new_v, &err)); in TestRoundtrip()