diff options
Diffstat (limited to 'test/024_io_LST_read')
| -rw-r--r-- | test/024_io_LST_read/io_LST_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/024_io_LST_read/io_LST_tests.c b/test/024_io_LST_read/io_LST_tests.c index 81d4c54..59cf89a 100644 --- a/test/024_io_LST_read/io_LST_tests.c +++ b/test/024_io_LST_read/io_LST_tests.c | |||
| @@ -9,14 +9,14 @@ int main(void) { | |||
| 9 | while (*aux != '\n') | 9 | while (*aux != '\n') |
| 10 | aux++; | 10 | aux++; |
| 11 | 11 | ||
| 12 | cube = readcube("LST", str); | 12 | cube = cube_read("LST", str); |
| 13 | 13 | ||
| 14 | if (cube_error(cube)) { | 14 | if (cube_error(cube)) { |
| 15 | printf("Error reading cube\n"); | 15 | printf("Error reading cube\n"); |
| 16 | } else if (!cube_solvable(cube)) { | 16 | } else if (!cube_solvable(cube)) { |
| 17 | printf("Cube is not solvable\n"); | 17 | printf("Cube is not solvable\n"); |
| 18 | } else { | 18 | } else { |
| 19 | writecube("H48", cube, str); | 19 | cube_write("H48", cube, str); |
| 20 | printf("%s\n", str); | 20 | printf("%s\n", str); |
| 21 | } | 21 | } |
| 22 | 22 | ||
