diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-12 11:11:28 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-12 11:11:28 +0200 |
| commit | da8fdd4955fd24666643915a6728678e9965a0d3 (patch) | |
| tree | 878d7baf68f90e80949bc79a039bda159865821f /test/031_premove/premove_tests.c | |
| parent | 14689e29252e608d51c5b52e61e43471d2aa021e (diff) | |
| download | nissy-core-da8fdd4955fd24666643915a6728678e9965a0d3.tar.gz nissy-core-da8fdd4955fd24666643915a6728678e9965a0d3.zip | |
Make writecube safer
Diffstat (limited to 'test/031_premove/premove_tests.c')
| -rw-r--r-- | test/031_premove/premove_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/031_premove/premove_tests.c b/test/031_premove/premove_tests.c index fa3707e..07631c1 100644 --- a/test/031_premove/premove_tests.c +++ b/test/031_premove/premove_tests.c | |||
| @@ -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, cubestr); | 24 | writecube("H48", cube, NISSY_SIZE_H48, cubestr); |
| 25 | printf("%s\n", cubestr); | 25 | printf("%s\n", cubestr); |
| 26 | } | 26 | } |
| 27 | } | 27 | } |
