aboutsummaryrefslogtreecommitdiff
path: root/test/001_pieces/pieces_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/001_pieces/pieces_tests.c')
-rw-r--r--test/001_pieces/pieces_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/001_pieces/pieces_tests.c b/test/001_pieces/pieces_tests.c
index 452a11b..f46a143 100644
--- a/test/001_pieces/pieces_tests.c
+++ b/test/001_pieces/pieces_tests.c
@@ -6,7 +6,7 @@ void run(void) {
6 int i; 6 int i;
7 uint8_t corner[8], edge[12]; 7 uint8_t corner[8], edge[12];
8 char str[STRLENMAX], *aux; 8 char str[STRLENMAX], *aux;
9 cube_t cube; 9 oriented_cube_t cube;
10 10
11 aux = str; 11 aux = str;
12 while (fgets(aux, STRLENMAX, stdin) != NULL) 12 while (fgets(aux, STRLENMAX, stdin) != NULL)
@@ -14,7 +14,7 @@ void run(void) {
14 aux++; 14 aux++;
15 15
16 cube = readcube(str); 16 cube = readcube(str);
17 pieces(&cube, corner, edge); 17 pieces(&cube.cube, corner, edge);
18 18
19 for (i = 0; i < 8; i++) 19 for (i = 0; i < 8; i++)
20 printf("%" PRIu8 " ", corner[i]); 20 printf("%" PRIu8 " ", corner[i]);

Generated with cgit - Back to sebastiano.tronto.net