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/075_set_eo/set_eo_tests.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/075_set_eo') diff --git a/test/075_set_eo/set_eo_tests.c b/test/075_set_eo/set_eo_tests.c index 2e05e9a..ef2156d 100644 --- a/test/075_set_eo/set_eo_tests.c +++ b/test/075_set_eo/set_eo_tests.c @@ -6,7 +6,7 @@ void pieces(cube_t *, uint8_t [static 8], uint8_t [static 12]); void run(void) { char str[STRLENMAX]; - cube_t cube; + oriented_cube_t cube; uint8_t edge[12], corner[8]; int64_t eo; @@ -15,12 +15,12 @@ void run(void) { fgets(str, STRLENMAX, stdin); eo = atoi(str); - set_eo(&cube, eo); + set_eo(&cube.cube, eo); if (iserror(cube)) { printf("Error setting EO\n"); } else if (!isconsistent(cube)) { - pieces(&cube, corner, edge); + pieces(&cube.cube, corner, edge); fprintf(stderr, "edges: "); for (int i = 0; i < 12; i++) fprintf(stderr, "%d ", edge[i]); -- cgit v1.3