diff options
Diffstat (limited to 'test/090_allowedmoves')
| -rw-r--r-- | test/090_allowedmoves/allowedmoves_tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/090_allowedmoves/allowedmoves_tests.c b/test/090_allowedmoves/allowedmoves_tests.c index aa6bda7..cff8303 100644 --- a/test/090_allowedmoves/allowedmoves_tests.c +++ b/test/090_allowedmoves/allowedmoves_tests.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #include "../test.h" | 1 | #include "../test.h" |
| 2 | 2 | ||
| 3 | bool allowedmoves(size_t n, const uint8_t [n]); | 3 | bool allowedmoves(size_t n, const uint8_t *); |
| 4 | 4 | ||
| 5 | static char *moves[] = { | 5 | static char *moves[] = { |
| 6 | "U", "U2", "U'", | 6 | "U", "U2", "U'", |
| @@ -13,8 +13,8 @@ static char *moves[] = { | |||
| 13 | 13 | ||
| 14 | void run(void) { | 14 | void run(void) { |
| 15 | char movestr[STRLENMAX]; | 15 | char movestr[STRLENMAX]; |
| 16 | uint8_t m[100]; | 16 | uint8_t j, m[100]; |
| 17 | int n, i, j; | 17 | int n, i; |
| 18 | 18 | ||
| 19 | fgets(movestr, STRLENMAX, stdin); | 19 | fgets(movestr, STRLENMAX, stdin); |
| 20 | n = atoi(movestr); | 20 | n = atoi(movestr); |
