diff --git a/test/Pong/test_updateBallPosition.c b/test/Pong/test_updateBallPosition.c index 73cb040..7c4d814 100644 --- a/test/Pong/test_updateBallPosition.c +++ b/test/Pong/test_updateBallPosition.c @@ -2,20 +2,7 @@ #include "unity.h" #include "pong.h" -typedef struct { - int x; - int y; - int speedX; - int speedY; -} Ball; - void updateBallPosition(Ball *ball) { - struct Ball { - int x; - int y; - int speedX; - int speedY; - }; ball->x += ball->speedX; ball->y += ball->speedY;