Lines Matching refs:EXPECT_EQUAL
19 #define EXPECT_EQUAL(val, expected) \ macro
101 EXPECT_EQUAL(ch, test_string[i]); in do_test_get_char()
102 EXPECT_EQUAL(io.eof, false); in do_test_get_char()
105 EXPECT_EQUAL(ch, -1); in do_test_get_char()
106 EXPECT_EQUAL(io.eof, true); in do_test_get_char()
147 EXPECT_EQUAL(ch, ch1); in do_test_get_hex()
151 EXPECT_EQUAL(ch, ch2); in do_test_get_hex()
155 EXPECT_EQUAL(ch, ch3); in do_test_get_hex()
157 EXPECT_EQUAL(io.eof, end_eof); in do_test_get_hex()
228 EXPECT_EQUAL(ch, ch1); in do_test_get_dec()
232 EXPECT_EQUAL(ch, ch2); in do_test_get_dec()
236 EXPECT_EQUAL(ch, ch3); in do_test_get_dec()
238 EXPECT_EQUAL(io.eof, end_eof); in do_test_get_dec()
313 EXPECT_EQUAL((int)io__getline(&io, &line, &line_len), 513); in test_get_line()
314 EXPECT_EQUAL((int)strlen(line), 513); in test_get_line()
316 EXPECT_EQUAL(line[i], 'a'); in test_get_line()
317 EXPECT_EQUAL(line[512], '\n'); in test_get_line()
318 EXPECT_EQUAL((int)io__getline(&io, &line, &line_len), 510); in test_get_line()
320 EXPECT_EQUAL(line[i], 'b'); in test_get_line()