From 4d08bf731a099de2d174c73489636e1a12935aee Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 8 Sep 2023 18:28:30 +0200 Subject: New implementation, moved old to experiments/ --- test/02_move/move_tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/02_move') diff --git a/test/02_move/move_tests.c b/test/02_move/move_tests.c index 23fc45e..ac25de3 100644 --- a/test/02_move/move_tests.c +++ b/test/02_move/move_tests.c @@ -27,7 +27,7 @@ int main() { for (i = 0; i < n; i++) cube = move(cube, moves[i]); - if (cube.e == errorcube.e && cube.c == errorcube.c) { + if (iserror(cube)) { printf("Error moving cube\n"); } else if (!isconsistent(cube)) { printf("Moved cube is inconsistent\n"); -- cgit v1.3