aboutsummaryrefslogtreecommitdiff
path: root/test/00_basic
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/00_basic
parent9e698917cb5b332cdbf1969ddfe3840239106c8d (diff)
downloadnissy-core-ffb67c9dcd22c4c3258b9ef78301e404e7d9a796.tar.gz
nissy-core-ffb67c9dcd22c4c3258b9ef78301e404e7d9a796.zip
Split isconsistent() and issolvable()
Diffstat (limited to '')
-rw-r--r--test/00_basic/all.out4
-rw-r--r--test/00_basic/basic_tests.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/00_basic/all.out b/test/00_basic/all.out
index aad167e..892ad22 100644
--- a/test/00_basic/all.out
+++ b/test/00_basic/all.out
@@ -1,6 +1,6 @@
1Solved is consistent 1Solved is solvable
2Solved is solved 2Solved is solved
3Zero is NOT consistent 3Zero is NOT solvable
4Zero is NOT solved 4Zero is NOT solved
5Solved and Solved are equal 5Solved and Solved are equal
6Solved and Zero are NOT equal 6Solved and Zero are NOT equal
diff --git a/test/00_basic/basic_tests.c b/test/00_basic/basic_tests.c
index 8c52941..a3ae0b9 100644
--- a/test/00_basic/basic_tests.c
+++ b/test/00_basic/basic_tests.c
@@ -7,7 +7,7 @@
7void 7void
8check(cube_t cube, char *name) 8check(cube_t cube, char *name)
9{ 9{
10 printf("%s is%s consistent\n", name, isconsistent(cube) ? "" : " NOT"); 10 printf("%s is%s solvable\n", name, issolvable(cube) ? "" : " NOT");
11 printf("%s is%s solved\n", name, issolved(cube) ? "" : " NOT"); 11 printf("%s is%s solved\n", name, issolved(cube) ? "" : " NOT");
12} 12}
13 13

Generated with cgit - Back to sebastiano.tronto.net