aboutsummaryrefslogtreecommitdiff
path: root/test/02_move
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-09-08 18:28:30 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-09-08 18:28:30 +0200
commit4d08bf731a099de2d174c73489636e1a12935aee (patch)
treec751858cb6e33172c97a1123432f7c59d7d94d7e /test/02_move
parentc5dfc897160bc9bbc6a91c77b5d58d421fd1cfe1 (diff)
downloadnissy-core-4d08bf731a099de2d174c73489636e1a12935aee.tar.gz
nissy-core-4d08bf731a099de2d174c73489636e1a12935aee.zip
New implementation, moved old to experiments/
Diffstat (limited to 'test/02_move')
-rw-r--r--test/02_move/move_tests.c2
1 files changed, 1 insertions, 1 deletions
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() {
27 for (i = 0; i < n; i++) 27 for (i = 0; i < n; i++)
28 cube = move(cube, moves[i]); 28 cube = move(cube, moves[i]);
29 29
30 if (cube.e == errorcube.e && cube.c == errorcube.c) { 30 if (iserror(cube)) {
31 printf("Error moving cube\n"); 31 printf("Error moving cube\n");
32 } else if (!isconsistent(cube)) { 32 } else if (!isconsistent(cube)) {
33 printf("Moved cube is inconsistent\n"); 33 printf("Moved cube is inconsistent\n");

Generated with cgit - Back to sebastiano.tronto.net