diff --git a/cv9/snake.c b/cv9/snake.c index e8a3cf6..901c298 100644 --- a/cv9/snake.c +++ b/cv9/snake.c @@ -36,7 +36,7 @@ void test_remove_snake_non_empty() { struct snake* new_head = remove_snake(head); - if (new_head != NULL && new_head->x == 3) { + if (new_head != NULL && new_head->x == 2 && new_head->y == 2 && new_head->y == 2) { printf("Test passed: new head coordinates are correct.\n"); } else { printf("Test failed: new head coordinates are incorrect.\n");