diff options
Diffstat (limited to 'test/02_move/move_tests.c')
| -rw-r--r-- | test/02_move/move_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/02_move/move_tests.c b/test/02_move/move_tests.c index 23fc45e..ac25de3 100644 --- a/test/02_move/move_tests.c +++ b/test/02_move/move_tests.c | |||
| @@ -27,7 +27,7 @@ int main() { | |||
| 27 | for (i = 0; i < n; i++) | 27 | for (i = 0; i < n; i++) |
| 28 | cube = move(cube, moves[i]); | 28 | cube = move(cube, moves[i]); |
| 29 | 29 | ||
| 30 | if (cube.e == errorcube.e && cube.c == errorcube.c) { | 30 | if (iserror(cube)) { |
| 31 | printf("Error moving cube\n"); | 31 | printf("Error moving cube\n"); |
| 32 | } else if (!isconsistent(cube)) { | 32 | } else if (!isconsistent(cube)) { |
| 33 | printf("Moved cube is inconsistent\n"); | 33 | printf("Moved cube is inconsistent\n"); |
