diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 16:12:21 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 16:12:21 +0200 |
| commit | bab22e1946a656088804b61cf765461b48744971 (patch) | |
| tree | 43ae3798e5c2f4fc63e68df72d134e742fcaf834 /test/077_copy_edges | |
| parent | 93522effba2f200257141189de5925a23fca93b8 (diff) | |
| download | nissy-core-bab22e1946a656088804b61cf765461b48744971.tar.gz nissy-core-bab22e1946a656088804b61cf765461b48744971.zip | |
Update tests for oriented_cube_t
Diffstat (limited to 'test/077_copy_edges')
| -rw-r--r-- | test/077_copy_edges/copy_edges_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/077_copy_edges/copy_edges_tests.c b/test/077_copy_edges/copy_edges_tests.c index 36e32af..f3b0589 100644 --- a/test/077_copy_edges/copy_edges_tests.c +++ b/test/077_copy_edges/copy_edges_tests.c | |||
| @@ -4,7 +4,7 @@ void copy_edges(cube_t *, cube_t); | |||
| 4 | 4 | ||
| 5 | void run(void) { | 5 | void run(void) { |
| 6 | char str[STRLENMAX]; | 6 | char str[STRLENMAX]; |
| 7 | cube_t c1, c2; | 7 | oriented_cube_t c1, c2; |
| 8 | 8 | ||
| 9 | fgets(str, STRLENMAX, stdin); | 9 | fgets(str, STRLENMAX, stdin); |
| 10 | c1 = readcube(str); | 10 | c1 = readcube(str); |
| @@ -12,7 +12,7 @@ void run(void) { | |||
| 12 | fgets(str, STRLENMAX, stdin); | 12 | fgets(str, STRLENMAX, stdin); |
| 13 | c2 = readcube(str); | 13 | c2 = readcube(str); |
| 14 | 14 | ||
| 15 | copy_edges(&c1, c2); | 15 | copy_edges(&c1.cube, c2.cube); |
| 16 | 16 | ||
| 17 | if (iserror(c1)) { | 17 | if (iserror(c1)) { |
| 18 | printf("Error setting EO\n"); | 18 | printf("Error setting EO\n"); |
