From 1729a2da7d79a14d4fda2dafd958f4e9854e24ee Mon Sep 17 00:00:00 2001 From: Mykyta Sadchenko Date: Thu, 18 Apr 2024 08:28:07 +0200 Subject: [PATCH] k --- cv9/snake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");