Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGAzed committed Jun 13, 2024
1 parent 6694f03 commit 4920b89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,5 @@ jobs:
- name: Test
#working-directory: ${{ steps.strings.outputs.build-output-dir }}
run: |
ls test/puzzles/easy
xxd -b test/puzzles/easy/1.kkr
xxd -b test/puzzles/easy/2.kkr
xxd -b test/puzzles/easy/3.kkr
xxd -b test/puzzles/easy/4.kkr
xxd -b test/puzzles/easy/5.kkr
./build/test/unit/UNITTESTS
./build/test/blackbox/BLACKBOX
10 changes: 5 additions & 5 deletions test/blackbox/suites/easy/easy_unset.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ TEST easy_unset_one(void) {
get_settings_singleton()->is_backtrack = false;
get_settings_singleton()->is_forward_check = false;

FILE * fp = fopen(get_settings_singleton()->filepath, "rb");
FILE * fp = fopen(get_settings_singleton()->filepath, "r");
ASSERTm("COULDN'T OPEN FILE", fp);
Kakuro board = init_kakuro(fp);

Expand Down Expand Up @@ -43,7 +43,7 @@ TEST easy_unset_two(void) {
get_settings_singleton()->is_backtrack = false;
get_settings_singleton()->is_forward_check = false;

FILE * fp = fopen(get_settings_singleton()->filepath, "rb");
FILE * fp = fopen(get_settings_singleton()->filepath, "r");
ASSERTm("COULDN'T OPEN FILE", fp);

Kakuro board = init_kakuro(fp);
Expand Down Expand Up @@ -72,7 +72,7 @@ TEST easy_unset_three(void) {
get_settings_singleton()->is_backtrack = false;
get_settings_singleton()->is_forward_check = false;

FILE * fp = fopen(get_settings_singleton()->filepath, "rb");
FILE * fp = fopen(get_settings_singleton()->filepath, "r");
ASSERTm("COULDN'T OPEN FILE", fp);

Kakuro board = init_kakuro(fp);
Expand Down Expand Up @@ -101,7 +101,7 @@ TEST easy_unset_four(void) {
get_settings_singleton()->is_backtrack = false;
get_settings_singleton()->is_forward_check = false;

FILE * fp = fopen(get_settings_singleton()->filepath, "rb");
FILE * fp = fopen(get_settings_singleton()->filepath, "r");
ASSERTm("COULDN'T OPEN FILE", fp);

Kakuro board = init_kakuro(fp);
Expand Down Expand Up @@ -130,7 +130,7 @@ TEST easy_unset_five(void) {
get_settings_singleton()->is_backtrack = false;
get_settings_singleton()->is_forward_check = false;

FILE * fp = fopen(get_settings_singleton()->filepath, "rb");
FILE * fp = fopen(get_settings_singleton()->filepath, "r");
ASSERTm("COULDN'T OPEN FILE", fp);

Kakuro board = init_kakuro(fp);
Expand Down

0 comments on commit 4920b89

Please sign in to comment.