Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
horta committed Aug 14, 2024
1 parent 739da05 commit 8777063
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions h3client/test_single.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ static void test_pack_result(void)
aye(!h3r_pack(result->content, file));
aye(!close(file));

printf("_%d: %ld\n", __LINE__, hash("h3result.mp"));
aye(hash("h3result.mp") == 8392L);

h3c_result_del(result);
Expand All @@ -143,6 +144,7 @@ static void test_unpack_result(void)
aye(!h3r_pack(result->content, file));
aye(!close(file));

printf("_%d: %ld\n", __LINE__, hash("h3result.mp"));
aye(hash("h3result.mp") == 8392L);

file = open("h3result.mp", O_RDONLY);
Expand All @@ -155,6 +157,7 @@ static void test_unpack_result(void)
aye(!h3r_unpack(result->content, file));
aye(!close(file));

printf("_%d: %ld\n", __LINE__, hash("h3result.mp"));
aye(hash("h3result.mp") == 8392L);

h3c_result_del(result);
Expand Down

0 comments on commit 8777063

Please sign in to comment.