diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-03-24 23:09:26 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-03-24 23:09:26 +0100 |
| commit | d45e1595ec1cffeab83ac6602b748250b66bea03 (patch) | |
| tree | 44b35714cdae22026fc5e15648e91684a2fbb154 /test/062_transform_move | |
| parent | ce3f1cc0ef9f46d70ab5387b1458e9098b40711d (diff) | |
| download | nissy-core-d45e1595ec1cffeab83ac6602b748250b66bea03.tar.gz nissy-core-d45e1595ec1cffeab83ac6602b748250b66bea03.zip | |
Big cleanup for appendsolution()
With this PR the appendsolution routine is extracted from the h48
solver and the new coordinate solver and made generic. This has
many advantages:
- less repetition (even if the two versions are different enough that
*for now* it was not a big deal)
- smaller h48/solve.h file, which is already a big beast
- easier to test the appendsolution() routine separately
Diffstat (limited to 'test/062_transform_move')
| -rw-r--r-- | test/062_transform_move/transform_move_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/062_transform_move/transform_move_tests.c b/test/062_transform_move/transform_move_tests.c index 4b7f420..7cd555f 100644 --- a/test/062_transform_move/transform_move_tests.c +++ b/test/062_transform_move/transform_move_tests.c | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 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 | int readmoves(const char *, int, uint8_t *); | 7 | int64_t readmoves(const char *, size_t n, uint8_t [n]); |
| 8 | cube_t move(cube_t, uint8_t); | 8 | cube_t move(cube_t, uint8_t); |
| 9 | cube_t applymoves(cube_t, const char *); | 9 | cube_t applymoves(cube_t, const char *); |
| 10 | uint8_t readtrans(const char[static NISSY_SIZE_TRANSFORMATION]); | 10 | uint8_t readtrans(const char[static NISSY_SIZE_TRANSFORMATION]); |
