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/04_compose | |
| parent | 9e698917cb5b332cdbf1969ddfe3840239106c8d (diff) | |
| download | nissy-core-ffb67c9dcd22c4c3258b9ef78301e404e7d9a796.tar.gz nissy-core-ffb67c9dcd22c4c3258b9ef78301e404e7d9a796.zip | |
Split isconsistent() and issolvable()
Diffstat (limited to 'test/04_compose')
| -rw-r--r-- | test/04_compose/compose_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/04_compose/compose_tests.c b/test/04_compose/compose_tests.c index ae34f6d..575c2c9 100644 --- a/test/04_compose/compose_tests.c +++ b/test/04_compose/compose_tests.c | |||
| @@ -19,8 +19,8 @@ int main() { | |||
| 19 | 19 | ||
| 20 | if (iserror(c3)) { | 20 | if (iserror(c3)) { |
| 21 | printf("Error composing cubes\n"); | 21 | printf("Error composing cubes\n"); |
| 22 | } else if (!isconsistent(c3)) { | 22 | } else if (!issolvable(c3)) { |
| 23 | printf("Composed cube is inconsistent\n"); | 23 | printf("Composed cube is not solvable\n"); |
| 24 | } else { | 24 | } else { |
| 25 | writecube(c3, str); | 25 | writecube(c3, str); |
| 26 | printf("%s\n", str); | 26 | printf("%s\n", str); |
