Lines Matching refs:CHECK_EQ
38 CHECK_EQ(13, FLAG_testing_int_flag);
39 CHECK_EQ(2.5, FLAG_testing_float_flag);
40 CHECK_EQ(0, strcmp(FLAG_testing_string_flag, "Hello, world!"));
61 CHECK_EQ(0, FlagList::SetFlagsFromCommandLine(&argc,
64 CHECK_EQ(7, argc);
66 CHECK_EQ(77, FLAG_testing_int_flag);
67 CHECK_EQ(.25, FLAG_testing_float_flag);
68 CHECK_EQ(0, strcmp(FLAG_testing_string_flag, "no way!"));
78 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
80 CHECK_EQ(77, FLAG_testing_int_flag);
81 CHECK_EQ(.25, FLAG_testing_float_flag);
82 CHECK_EQ(0, strcmp(FLAG_testing_string_flag, "no_way!"));
93 CHECK_EQ(0, FlagList::SetFlagsFromCommandLine(&argc,
96 CHECK_EQ(2, argc);
98 CHECK_EQ(-666, FLAG_testing_int_flag);
99 CHECK_EQ(-12E10, FLAG_testing_float_flag);
100 CHECK_EQ(0, strcmp(FLAG_testing_string_flag, "foo-bar"));
110 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
112 CHECK_EQ(-666, FLAG_testing_int_flag);
113 CHECK_EQ(-12E10, FLAG_testing_float_flag);
114 CHECK_EQ(0, strcmp(FLAG_testing_string_flag, "foo-bar"));
122 CHECK_EQ(0, FlagList::SetFlagsFromCommandLine(&argc,
125 CHECK_EQ(2, argc);
132 CHECK_EQ(2, FlagList::SetFlagsFromString(str, StrLength(str)));
140 CHECK_EQ(1, FlagList::SetFlagsFromCommandLine(&argc,
143 CHECK_EQ(2, argc);
150 CHECK_EQ(1, FlagList::SetFlagsFromString(str, StrLength(str)));
159 CHECK_EQ(3, FlagList::SetFlagsFromCommandLine(&argc,
162 CHECK_EQ(4, argc);
169 CHECK_EQ(3, FlagList::SetFlagsFromString(str, StrLength(str)));
179 CHECK_EQ(0, FlagList::SetFlagsFromCommandLine(&argc,
182 CHECK_EQ(42, FLAG_testing_int_flag);
183 CHECK_EQ(2.5, FLAG_testing_float_flag);
184 CHECK_EQ(2, FLAG_js_arguments.argc());
185 CHECK_EQ(0, strcmp(FLAG_js_arguments[0], "testing-float-flag"));
186 CHECK_EQ(0, strcmp(FLAG_js_arguments[1], "7"));
187 CHECK_EQ(1, argc);
194 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
195 CHECK_EQ(42, FLAG_testing_int_flag);
196 CHECK_EQ(2.5, FLAG_testing_float_flag);
197 CHECK_EQ(2, FLAG_js_arguments.argc());
198 CHECK_EQ(0, strcmp(FLAG_js_arguments[0], "testing-float-flag"));
199 CHECK_EQ(0, strcmp(FLAG_js_arguments[1], "7"));
206 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
207 CHECK_EQ(42, FLAG_testing_int_flag);
208 CHECK_EQ(2.5, FLAG_testing_float_flag);
209 CHECK_EQ(2, FLAG_js_arguments.argc());
210 CHECK_EQ(0, strcmp(FLAG_js_arguments[0], "testing-float-flag"));
211 CHECK_EQ(0, strcmp(FLAG_js_arguments[1], "7"));
218 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
219 CHECK_EQ(42, FLAG_testing_int_flag);
220 CHECK_EQ(2.5, FLAG_testing_float_flag);
221 CHECK_EQ(2, FLAG_js_arguments.argc());
222 CHECK_EQ(0, strcmp(FLAG_js_arguments[0], "testing-float-flag"));
223 CHECK_EQ(0, strcmp(FLAG_js_arguments[1], "7"));
230 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
231 CHECK_EQ(42, FLAG_testing_int_flag);
232 CHECK_EQ(0, FLAG_js_arguments.argc());