diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-09-08 18:28:30 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-09-08 18:28:30 +0200 |
| commit | 4d08bf731a099de2d174c73489636e1a12935aee (patch) | |
| tree | c751858cb6e33172c97a1123432f7c59d7d94d7e /test/01_io | |
| parent | c5dfc897160bc9bbc6a91c77b5d58d421fd1cfe1 (diff) | |
| download | nissy-core-4d08bf731a099de2d174c73489636e1a12935aee.tar.gz nissy-core-4d08bf731a099de2d174c73489636e1a12935aee.zip | |
New implementation, moved old to experiments/
Diffstat (limited to 'test/01_io')
| -rw-r--r-- | test/01_io/io_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/01_io/io_tests.c b/test/01_io/io_tests.c index 1ef99d0..42ef9b8 100644 --- a/test/01_io/io_tests.c +++ b/test/01_io/io_tests.c | |||
| @@ -15,7 +15,7 @@ int main() { | |||
| 15 | 15 | ||
| 16 | cube = readcube(str); | 16 | cube = readcube(str); |
| 17 | 17 | ||
| 18 | if (cube.e == errorcube.e && cube.c == errorcube.c) { | 18 | if (iserror(cube)) { |
| 19 | printf("Error reading cube\n"); | 19 | printf("Error reading cube\n"); |
| 20 | } else if (!isconsistent(cube)) { | 20 | } else if (!isconsistent(cube)) { |
| 21 | printf("Cube is inconsistent\n"); | 21 | printf("Cube is inconsistent\n"); |
