From 4d08bf731a099de2d174c73489636e1a12935aee Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 8 Sep 2023 18:28:30 +0200 Subject: New implementation, moved old to experiments/ --- test/01_io/io_tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/01_io') 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() { cube = readcube(str); - if (cube.e == errorcube.e && cube.c == errorcube.c) { + if (iserror(cube)) { printf("Error reading cube\n"); } else if (!isconsistent(cube)) { printf("Cube is inconsistent\n"); -- cgit v1.3