diff options
Diffstat (limited to 'test/062_transform_move')
| -rw-r--r-- | test/062_transform_move/transform_move_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/062_transform_move/transform_move_tests.c b/test/062_transform_move/transform_move_tests.c index 4f554c7..39e8619 100644 --- a/test/062_transform_move/transform_move_tests.c +++ b/test/062_transform_move/transform_move_tests.c | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | cube_t applytrans(cube_t, const char *); | 5 | cube_t applytrans(cube_t, const char *); |
| 6 | uint8_t transform_move(uint8_t, uint8_t); | 6 | uint8_t transform_move(uint8_t, uint8_t); |
| 7 | int64_t readmoves(const char *, size_t n, uint8_t [n]); | 7 | int64_t readmoves(const char *, size_t n, uint8_t [n]); |
| 8 | cube_t move(cube_t, uint8_t); | 8 | oriented_cube_t move_extended(oriented_cube_t, uint8_t); |
| 9 | oriented_cube_t applymoves(oriented_cube_t, const char *); | 9 | oriented_cube_t applymoves(oriented_cube_t, const char *); |
| 10 | uint8_t readtrans(const char[static NISSY_SIZE_TRANSFORMATION]); | 10 | uint8_t readtrans(const char[static NISSY_SIZE_TRANSFORMATION]); |
| 11 | 11 | ||
| @@ -22,7 +22,7 @@ void run(void) { | |||
| 22 | n = readmoves(movestr, MAXMOVES, moves); | 22 | n = readmoves(movestr, MAXMOVES, moves); |
| 23 | t = readtrans(transtr); | 23 | t = readtrans(transtr); |
| 24 | for (i = 0; i < n; i++) | 24 | for (i = 0; i < n; i++) |
| 25 | cube.cube = move(cube.cube, transform_move(moves[i], t)); | 25 | cube = move_extended(cube, transform_move(moves[i], t)); |
| 26 | 26 | ||
| 27 | writecube(cube, STRLENMAX, cubestr); | 27 | writecube(cube, STRLENMAX, cubestr); |
| 28 | printf("%s\n", cubestr); | 28 | printf("%s\n", cubestr); |
