Skip to content

Commit

Permalink
fflush test
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGAzed committed Jun 13, 2024
1 parent bf13c18 commit 631d602
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions program/source/structures/concrete/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ void print_board(Kakuro board) {
}
putchar('\n');
}
fflush(stdout);
}

void add_check(Kakuro board, Check * checks, ksize_t index) {
Expand Down
2 changes: 1 addition & 1 deletion test/blackbox/suites/easy/easy_unset.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TEST easy_unset_one(void) {
FILE * fp = fopen(get_settings_singleton()->filepath, "rb");
ASSERTm("COULDN'T OPEN FILE", fp);
rewind(fp);

Kakuro board = init_kakuro(fp);
print_board(board);
fclose(fp);
Expand Down

0 comments on commit 631d602

Please sign in to comment.