diff options
Diffstat (limited to 'test/010_io_H48_read_write')
| -rw-r--r-- | test/010_io_H48_read_write/io_H48_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/010_io_H48_read_write/io_H48_tests.c b/test/010_io_H48_read_write/io_H48_tests.c index 758124e..70d1a91 100644 --- a/test/010_io_H48_read_write/io_H48_tests.c +++ b/test/010_io_H48_read_write/io_H48_tests.c | |||
| @@ -17,14 +17,14 @@ int main() { | |||
| 17 | for (c = str; (*c = getchar()) != EOF; c++) ; | 17 | for (c = str; (*c = getchar()) != EOF; c++) ; |
| 18 | *c = '\0'; | 18 | *c = '\0'; |
| 19 | 19 | ||
| 20 | cube = readcube(H48, str); | 20 | cube = readcube("H48", str); |
| 21 | 21 | ||
| 22 | if (iserror(cube)) { | 22 | if (iserror(cube)) { |
| 23 | printf("Error reading cube\n"); | 23 | printf("Error reading cube\n"); |
| 24 | } else if (!issolvable(cube)) { | 24 | } else if (!issolvable(cube)) { |
| 25 | printf("Cube is not solvable\n"); | 25 | printf("Cube is not solvable\n"); |
| 26 | } else { | 26 | } else { |
| 27 | writecube(H48, cube, str); | 27 | writecube("H48", cube, str); |
| 28 | printf("%s\n", str); | 28 | printf("%s\n", str); |
| 29 | } | 29 | } |
| 30 | 30 | ||
