From 7bb113ad02de63872a5264b651a5f1236db29c33 Mon Sep 17 00:00:00 2001 From: fdai8040 Date: Sun, 4 Feb 2024 14:30:33 +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 4b4e6e7..f05f7f8 100644 --- a/test/Pong/test_checkCollision.c +++ b/test/Pong/test_checkCollision.c @@ -52,7 +52,7 @@ void test_checkCollision(void){ ball.x = paddle.x - 1; ball.y = paddle.y + 1; int result5 = checkCollision(ball, paddle.y, paddle.y); - TEST_ASSERT_EQUAL_INT(1, result5); + TEST_ASSERT_EQUAL_INT(2, result5); ball.x = paddle.x + 1; ball.y = paddle.y + 1;