aboutsummaryrefslogtreecommitdiff
path: root/test/080_allowednext
diff options
context:
space:
mode:
Diffstat (limited to 'test/080_allowednext')
-rw-r--r--test/080_allowednext/allowednext_tests.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/080_allowednext/allowednext_tests.c b/test/080_allowednext/allowednext_tests.c
index e531911..644d4c5 100644
--- a/test/080_allowednext/allowednext_tests.c
+++ b/test/080_allowednext/allowednext_tests.c
@@ -11,7 +11,7 @@ static char *moves[] = {
11 "B", "B2", "B'", 11 "B", "B2", "B'",
12}; 12};
13 13
14int main(void) { 14void run(void) {
15 char movestr[STRLENMAX]; 15 char movestr[STRLENMAX];
16 uint8_t m[100]; 16 uint8_t m[100];
17 int n, i, j; 17 int n, i, j;
@@ -32,6 +32,4 @@ int main(void) {
32 n > 1 ? moves[m[n-2]] : "-", 32 n > 1 ? moves[m[n-2]] : "-",
33 n > 0 ? moves[m[n-1]] : "-"); 33 n > 0 ? moves[m[n-1]] : "-");
34 printf("%s\n", allowednextmove(m, n) ? "true" : "false"); 34 printf("%s\n", allowednextmove(m, n) ? "true" : "false");
35
36 return 0;
37} 35}

Generated with cgit - Back to sebastiano.tronto.net