From 896e5b643fdff0098eb44d00c30f3bc60c482b9a Mon Sep 17 00:00:00 2001 From: Mykyta Sadchenko Date: Thu, 18 Apr 2024 08:30:43 +0200 Subject: [PATCH] l --- cv9/snake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv9/snake.c b/cv9/snake.c index 901c298..c5bd055 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 == 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");