From a18d4b0ba97b301193597a963a77a40ef7c2254b Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 13 Apr 2024 15:31:32 +0200 Subject: Some renaming --- test/061_inverse_trans/inverse_trans_tests.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/061_inverse_trans') diff --git a/test/061_inverse_trans/inverse_trans_tests.c b/test/061_inverse_trans/inverse_trans_tests.c index 77bd40b..7de8f66 100644 --- a/test/061_inverse_trans/inverse_trans_tests.c +++ b/test/061_inverse_trans/inverse_trans_tests.c @@ -11,7 +11,7 @@ int main(void) { cube_t cube; for (t = 0; t < 48; t++) { - cube = solvedcube(); + cube = cube_new(); cube = applymoves(cube, "R"); cube = applymoves(cube, "U"); cube = applymoves(cube, "F"); @@ -20,15 +20,15 @@ int main(void) { tinv = inverse_trans(t); cube = applytrans(cube, transstr[tinv]); - if (iserror(cube)) { + if (cube_error(cube)) { printf("Error transforming cube\n"); - } else if (!issolvable(cube)) { + } else if (!cube_solvable(cube)) { printf("Transformed cube is not solvable\n"); } else { cube = applymoves(cube, "F'"); cube = applymoves(cube, "U'"); cube = applymoves(cube, "R'"); - if (!issolved(cube)) + if (!cube_solved(cube)) printf("%s: Error! Got %" PRIu8 "\n", transstr[t], tinv); } -- cgit v1.3