diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-04-13 15:57:23 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-04-13 15:57:23 +0200 |
| commit | a4598b740fe4b8350b7d09a575c793113c8fde2b (patch) | |
| tree | 157cdb108564389ecdf1badae2501f890fc2a126 /test/023_io_LST_write | |
| parent | 3ab2f98170908277f70191846e84e5dde185a056 (diff) | |
| download | cubecore-a4598b740fe4b8350b7d09a575c793113c8fde2b.tar.gz cubecore-a4598b740fe4b8350b7d09a575c793113c8fde2b.zip | |
Some renaming, moved stuff around
Diffstat (limited to 'test/023_io_LST_write')
| -rw-r--r-- | test/023_io_LST_write/io_LST_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/023_io_LST_write/io_LST_tests.c b/test/023_io_LST_write/io_LST_tests.c index 8a3ce22..1fa7531 100644 --- a/test/023_io_LST_write/io_LST_tests.c +++ b/test/023_io_LST_write/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("H48", str); | 12 | cube = cube_read("H48", 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("LST", cube, str); | 19 | cube_write("LST", cube, str); |
| 20 | printf("%s\n", str); | 20 | printf("%s\n", str); |
| 21 | } | 21 | } |
| 22 | 22 | ||
