diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-10-05 15:28:45 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-10-05 15:30:21 +0200 |
| commit | ffb67c9dcd22c4c3258b9ef78301e404e7d9a796 (patch) | |
| tree | 67f90a2c988a08a14fc31de1731bf9fcc7439816 /test/00_basic | |
| parent | 9e698917cb5b332cdbf1969ddfe3840239106c8d (diff) | |
| download | nissy-core-ffb67c9dcd22c4c3258b9ef78301e404e7d9a796.tar.gz nissy-core-ffb67c9dcd22c4c3258b9ef78301e404e7d9a796.zip | |
Split isconsistent() and issolvable()
Diffstat (limited to '')
| -rw-r--r-- | test/00_basic/all.out | 4 | ||||
| -rw-r--r-- | test/00_basic/basic_tests.c | 2 |
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 @@ | |||
| 1 | Solved is consistent | 1 | Solved is solvable |
| 2 | Solved is solved | 2 | Solved is solved |
| 3 | Zero is NOT consistent | 3 | Zero is NOT solvable |
| 4 | Zero is NOT solved | 4 | Zero is NOT solved |
| 5 | Solved and Solved are equal | 5 | Solved and Solved are equal |
| 6 | Solved and Zero are NOT equal | 6 | Solved 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 @@ | |||
| 7 | void | 7 | void |
| 8 | check(cube_t cube, char *name) | 8 | check(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 | ||
