diff options
Diffstat (limited to 'test/077_copy_edges/copy_edges_tests.c')
| -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"); |
