aboutsummaryrefslogtreecommitdiff
path: root/test/02_move
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-10-05 15:28:45 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-10-05 15:30:21 +0200
commitffb67c9dcd22c4c3258b9ef78301e404e7d9a796 (patch)
tree67f90a2c988a08a14fc31de1731bf9fcc7439816 /test/02_move
parent9e698917cb5b332cdbf1969ddfe3840239106c8d (diff)
downloadnissy-core-ffb67c9dcd22c4c3258b9ef78301e404e7d9a796.tar.gz
nissy-core-ffb67c9dcd22c4c3258b9ef78301e404e7d9a796.zip
Split isconsistent() and issolvable()
Diffstat (limited to 'test/02_move')
-rw-r--r--test/02_move/move_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/02_move/move_tests.c b/test/02_move/move_tests.c
index ac25de3..333c8ee 100644
--- a/test/02_move/move_tests.c
+++ b/test/02_move/move_tests.c
@@ -29,8 +29,8 @@ int main() {
29 29
30 if (iserror(cube)) { 30 if (iserror(cube)) {
31 printf("Error moving cube\n"); 31 printf("Error moving cube\n");
32 } else if (!isconsistent(cube)) { 32 } else if (!issolvable(cube)) {
33 printf("Moved cube is inconsistent\n"); 33 printf("Moved cube is not solvable\n");
34 } else { 34 } else {
35 writecube(cube, str); 35 writecube(cube, str);
36 printf("%s\n", str); 36 printf("%s\n", str);

Generated with cgit - Back to sebastiano.tronto.net