• Home
  • Raw
  • Download

Lines Matching refs:CHECK_EQ

67 #define CHECK_EQ(a, b)   CHECK(a == b)  macro
84 CHECK_EQ(i, 1234); in Timing2()
134 CHECK_EQ(v, 0x ## value); \ in RadixTests()
136 CHECK_EQ(v, 0x ## value); \ in RadixTests()
160 CHECK_EQ(v, 0 ## value); \ in RadixTests()
162 CHECK_EQ(v, 0 ## value); \ in RadixTests()
186 CHECK_EQ(v, value); \ in RadixTests()
188 CHECK_EQ(v, value); \ in RadixTests()
341 CHECK_EQ(one, t->single); in TestReplace()
344 CHECK_EQ(all, t->global); in TestReplace()
345 CHECK_EQ(replace_count, t->global_count); in TestReplace()
354 CHECK_EQ(re.GlobalReplace("bb", &all), 9); in TestReplace()
355 CHECK_EQ(all, string("bbabbabb\rbb\nbbabbabb\rbb\nbb")); in TestReplace()
362 CHECK_EQ(re.GlobalReplace("bb", &all), 9); in TestReplace()
363 CHECK_EQ(all, string("bbabbabb\rbb\nbbabbabb\rbb\nbb")); in TestReplace()
375 CHECK_EQ(s, "kremvax!boris"); in TestExtract()
379 CHECK_EQ(s, "'foo'"); in TestExtract()
381 CHECK_EQ(s, "'foo'"); in TestExtract()
394 CHECK_EQ(word, "aaa"); in TestConsume()
396 CHECK_EQ(word, "b"); in TestConsume()
410 CHECK_EQ(word, "aaa"); in TestFindAndConsume()
412 CHECK_EQ(word, "b"); in TestFindAndConsume()
414 CHECK_EQ(word, "cccc"); in TestFindAndConsume()
427 CHECK_EQ(word1, "foo"); in TestMatchNumberPeculiarity()
428 CHECK_EQ(word2, ""); in TestMatchNumberPeculiarity()
429 CHECK_EQ(word3, ""); in TestMatchNumberPeculiarity()
431 CHECK_EQ(word1, ""); in TestMatchNumberPeculiarity()
432 CHECK_EQ(word2, "bar"); in TestMatchNumberPeculiarity()
433 CHECK_EQ(word3, ""); in TestMatchNumberPeculiarity()
435 CHECK_EQ(word1, ""); in TestMatchNumberPeculiarity()
436 CHECK_EQ(word2, ""); in TestMatchNumberPeculiarity()
437 CHECK_EQ(word3, "baz"); in TestMatchNumberPeculiarity()
442 CHECK_EQ(a, ""); in TestMatchNumberPeculiarity()
586 CHECK_EQ(captured, expected); in GetOneOptionResult()
707 CHECK_EQ(captured, "world"); in Test_NO_AUTO_CAPTURE()
713 CHECK_EQ(captured, "world"); in Test_NO_AUTO_CAPTURE()
849 CHECK_EQ(i, 1001); in main()
851 CHECK_EQ(i, -123); in main()
858 CHECK_EQ(i, 23); in main()
860 CHECK_EQ(i, 1); in main()
862 CHECK_EQ(i, -1); in main()
864 CHECK_EQ(i, 1); in main()
866 CHECK_EQ(i, -1); in main()
870 CHECK_EQ(s, string("ell")); in main()
875 CHECK_EQ(sp.size(), 4); in main()
877 CHECK_EQ(i, 1234); in main()
881 CHECK_EQ(s, string("ruby")); in main()
882 CHECK_EQ(i, 1234); in main()
904 CHECK_EQ(s, string("ruby")); in main()
905 CHECK_EQ(i, 1234); in main()
911 CHECK_EQ(c, 'H'); in main()
916 CHECK_EQ(c, static_cast<unsigned char>('H')); in main()
920 CHECK(RE("(-?\\d+)").FullMatch("100", &v)); CHECK_EQ(v, 100); in main()
921 CHECK(RE("(-?\\d+)").FullMatch("-100", &v)); CHECK_EQ(v, -100); in main()
922 CHECK(RE("(-?\\d+)").FullMatch("32767", &v)); CHECK_EQ(v, 32767); in main()
923 CHECK(RE("(-?\\d+)").FullMatch("-32768", &v)); CHECK_EQ(v, -32768); in main()
929 CHECK(RE("(\\d+)").FullMatch("100", &v)); CHECK_EQ(v, 100); in main()
930 CHECK(RE("(\\d+)").FullMatch("32767", &v)); CHECK_EQ(v, 32767); in main()
931 CHECK(RE("(\\d+)").FullMatch("65535", &v)); CHECK_EQ(v, 65535); in main()
938 CHECK(RE("(-?\\d+)").FullMatch("100", &v)); CHECK_EQ(v, 100); in main()
939 CHECK(RE("(-?\\d+)").FullMatch("-100", &v)); CHECK_EQ(v, -100); in main()
940 CHECK(RE("(-?\\d+)").FullMatch("2147483647", &v)); CHECK_EQ(v, max_value); in main()
941 CHECK(RE("(-?\\d+)").FullMatch("-2147483648", &v)); CHECK_EQ(v, min_value); in main()
948 CHECK(RE("(\\d+)").FullMatch("100", &v)); CHECK_EQ(v, 100); in main()
949 CHECK(RE("(\\d+)").FullMatch("4294967295", &v)); CHECK_EQ(v, max_value); in main()
966 CHECK(RE("(-?\\d+)").FullMatch("100", &v)); CHECK_EQ(v, 100); in main()
967 CHECK(RE("(-?\\d+)").FullMatch("-100",&v)); CHECK_EQ(v, -100); in main()
970 CHECK(RE("(-?\\d+)").FullMatch(buf,&v)); CHECK_EQ(v, max_value); in main()
973 CHECK(RE("(-?\\d+)").FullMatch(buf,&v)); CHECK_EQ(v, min_value); in main()
993 CHECK(RE("(-?\\d+)").FullMatch("100",&v)); CHECK_EQ(v, 100); in main()
994 CHECK(RE("(-?\\d+)").FullMatch("-100",&v2)); CHECK_EQ(v2, -100); in main()
997 CHECK(RE("(-?\\d+)").FullMatch(buf,&v)); CHECK_EQ(v, max_value); in main()
1020 CHECK(RE("x(\\d+)").FullMatch("x1001", &i)); CHECK_EQ(i, 1001); in main()
1021 CHECK(RE("(\\d+)x").FullMatch("1001x", &i)); CHECK_EQ(i, 1001); in main()
1058 CHECK_EQ(a[0], 1); in main()
1063 CHECK_EQ(a[0], 1); in main()
1064 CHECK_EQ(a[1], 2); in main()
1069 CHECK_EQ(a[0], 1); in main()
1070 CHECK_EQ(a[1], 2); in main()
1071 CHECK_EQ(a[2], 3); in main()
1076 CHECK_EQ(a[0], 1); in main()
1077 CHECK_EQ(a[1], 2); in main()
1078 CHECK_EQ(a[2], 3); in main()
1079 CHECK_EQ(a[3], 4); in main()
1085 CHECK_EQ(a[0], 1); in main()
1086 CHECK_EQ(a[1], 2); in main()
1087 CHECK_EQ(a[2], 3); in main()
1088 CHECK_EQ(a[3], 4); in main()
1089 CHECK_EQ(a[4], 5); in main()
1095 CHECK_EQ(a[0], 1); in main()
1096 CHECK_EQ(a[1], 2); in main()
1097 CHECK_EQ(a[2], 3); in main()
1098 CHECK_EQ(a[3], 4); in main()
1099 CHECK_EQ(a[4], 5); in main()
1100 CHECK_EQ(a[5], 6); in main()
1106 CHECK_EQ(a[0], 1); in main()
1107 CHECK_EQ(a[1], 2); in main()
1108 CHECK_EQ(a[2], 3); in main()
1109 CHECK_EQ(a[3], 4); in main()
1110 CHECK_EQ(a[4], 5); in main()
1111 CHECK_EQ(a[5], 6); in main()
1112 CHECK_EQ(a[6], 7); in main()
1122 CHECK_EQ(a[0], 1); in main()
1123 CHECK_EQ(a[1], 2); in main()
1124 CHECK_EQ(a[2], 3); in main()
1125 CHECK_EQ(a[3], 4); in main()
1126 CHECK_EQ(a[4], 5); in main()
1127 CHECK_EQ(a[5], 6); in main()
1128 CHECK_EQ(a[6], 7); in main()
1129 CHECK_EQ(a[7], 8); in main()
1130 CHECK_EQ(a[8], 9); in main()
1131 CHECK_EQ(a[9], 0); in main()
1132 CHECK_EQ(a[10], 1); in main()
1133 CHECK_EQ(a[11], 2); in main()
1134 CHECK_EQ(a[12], 3); in main()
1135 CHECK_EQ(a[13], 4); in main()
1136 CHECK_EQ(a[14], 5); in main()
1137 CHECK_EQ(a[15], 6); in main()
1162 CHECK_EQ(kPattern, re.pattern()); in main()
1201 CHECK_EQ(ss, string("\xe6")); in main()
1204 CHECK_EQ(ss, string("\xe6\x97\xa5")); in main()