@ -74,4 +74,15 @@ public class CollisionCheckerTest {
//assert
assertFalse(result);
}
@Test
void WhenBallXCoordinateIsLessOrEqualThanZero_didTouchLeftEdge_ReturnsTrue() {
// arrange
Integer ballXCoordinate = -5;
//act
Boolean result = collisionChecker.didTouchLeftEdge(ballXCoordinate);
assertTrue(result);