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/050_compose | |
| parent | 3ab2f98170908277f70191846e84e5dde185a056 (diff) | |
| download | cubecore-a4598b740fe4b8350b7d09a575c793113c8fde2b.tar.gz cubecore-a4598b740fe4b8350b7d09a575c793113c8fde2b.zip | |
Some renaming, moved stuff around
Diffstat (limited to 'test/050_compose')
| -rw-r--r-- | test/050_compose/compose_tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/050_compose/compose_tests.c b/test/050_compose/compose_tests.c index 3bf6c34..5383733 100644 --- a/test/050_compose/compose_tests.c +++ b/test/050_compose/compose_tests.c | |||
| @@ -5,9 +5,9 @@ int main(void) { | |||
| 5 | cube_t c1, c2, c3; | 5 | cube_t c1, c2, c3; |
| 6 | 6 | ||
| 7 | fgets(str, STRLENMAX, stdin); | 7 | fgets(str, STRLENMAX, stdin); |
| 8 | c1 = readcube("H48", str); | 8 | c1 = cube_read("H48", str); |
| 9 | fgets(str, STRLENMAX, stdin); | 9 | fgets(str, STRLENMAX, stdin); |
| 10 | c2 = readcube("H48", str); | 10 | c2 = cube_read("H48", str); |
| 11 | 11 | ||
| 12 | c3 = cube_compose(c1, c2); | 12 | c3 = cube_compose(c1, c2); |
| 13 | 13 | ||
| @@ -16,7 +16,7 @@ int main(void) { | |||
| 16 | } else if (!cube_solvable(c3)) { | 16 | } else if (!cube_solvable(c3)) { |
| 17 | printf("Composed cube is not solvable\n"); | 17 | printf("Composed cube is not solvable\n"); |
| 18 | } else { | 18 | } else { |
| 19 | writecube("H48", c3, str); | 19 | cube_write("H48", c3, str); |
| 20 | printf("%s\n", str); | 20 | printf("%s\n", str); |
| 21 | } | 21 | } |
| 22 | 22 | ||
