From 4cb53b42790b599798b88cbd882bb842d36a9ea9 Mon Sep 17 00:00:00 2001 From: fdai8040 Date: Sun, 4 Feb 2024 14:28:42 +0000 Subject: [PATCH] refactoring: werteausgabe --- test/Pong/test_checkCollision.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Pong/test_checkCollision.c b/test/Pong/test_checkCollision.c index e2628be..cd7b0db 100644 --- a/test/Pong/test_checkCollision.c +++ b/test/Pong/test_checkCollision.c @@ -42,7 +42,7 @@ void test_checkCollision(void){ ball.x = 5; ball.y = 0; int result3 = checkCollision(ball, paddle.y, paddle.y); - TEST_ASSERT_EQUAL_INT(1, result3); + TEST_ASSERT_EQUAL_INT(0, result3); ball.y = HEIGHT - 1; int result4 = checkCollision(ball, paddle.y, paddle.y);