diff --git a/test/Pong/test_checkCollision.c b/test/Pong/test_checkCollision.c index f05f7f8..16be1ca 100644 --- a/test/Pong/test_checkCollision.c +++ b/test/Pong/test_checkCollision.c @@ -57,7 +57,7 @@ void test_checkCollision(void){ ball.x = paddle.x + 1; ball.y = paddle.y + 1; int result6 = checkCollision(ball, paddle.y, paddle.y); - TEST_ASSERT_EQUAL_INT(1, result6); + TEST_ASSERT_EQUAL_INT(2, result6); } #endif // TEST