diff options
Diffstat (limited to 'test/031_premove/premove_tests.c')
| -rw-r--r-- | test/031_premove/premove_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/031_premove/premove_tests.c b/test/031_premove/premove_tests.c index 07631c1..24773cd 100644 --- a/test/031_premove/premove_tests.c +++ b/test/031_premove/premove_tests.c | |||
| @@ -12,7 +12,7 @@ void run(void) { | |||
| 12 | fgets(movestr, STRLENMAX, stdin); | 12 | fgets(movestr, STRLENMAX, stdin); |
| 13 | move = readmove(movestr[0]) + readmodifier(movestr[1]); | 13 | move = readmove(movestr[0]) + readmodifier(movestr[1]); |
| 14 | fgets(cubestr, STRLENMAX, stdin); | 14 | fgets(cubestr, STRLENMAX, stdin); |
| 15 | cube = readcube("H48", cubestr); | 15 | cube = readcube(cubestr); |
| 16 | 16 | ||
| 17 | cube = premove(cube, move); | 17 | cube = premove(cube, move); |
| 18 | 18 | ||
| @@ -21,7 +21,7 @@ void run(void) { | |||
| 21 | } else if (!issolvable(cube)) { | 21 | } else if (!issolvable(cube)) { |
| 22 | printf("Moved cube is not solvable\n"); | 22 | printf("Moved cube is not solvable\n"); |
| 23 | } else { | 23 | } else { |
| 24 | writecube("H48", cube, NISSY_SIZE_H48, cubestr); | 24 | writecube(cube, NISSY_SIZE_CUBE, cubestr); |
| 25 | printf("%s\n", cubestr); | 25 | printf("%s\n", cubestr); |
| 26 | } | 26 | } |
| 27 | } | 27 | } |
