From bab22e1946a656088804b61cf765461b48744971 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 22 Apr 2025 16:12:21 +0200 Subject: Update tests for oriented_cube_t --- test/001_pieces/pieces_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/001_pieces') 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) { int i; uint8_t corner[8], edge[12]; char str[STRLENMAX], *aux; - cube_t cube; + oriented_cube_t cube; aux = str; while (fgets(aux, STRLENMAX, stdin) != NULL) @@ -14,7 +14,7 @@ void run(void) { aux++; cube = readcube(str); - pieces(&cube, corner, edge); + pieces(&cube.cube, corner, edge); for (i = 0; i < 8; i++) printf("%" PRIu8 " ", corner[i]); -- cgit v1.3