This commit is contained in:
Sadchenko 2024-04-18 08:30:43 +02:00
parent 1729a2da7d
commit 896e5b643f

View File

@ -36,7 +36,7 @@ void test_remove_snake_non_empty() {
struct snake* new_head = remove_snake(head);
if (new_head != NULL && new_head->x == 2 && new_head->y == 2 && new_head->y == 2) {
if (new_head != NULL && new_head->x == 2 && new_head->y == 2) {
printf("Test passed: new head coordinates are correct.\n");
} else {
printf("Test failed: new head coordinates are incorrect.\n");