diff --git a/src/test_/java/CollisionCheckerTest.java b/src/test_/java/CollisionCheckerTest.java index 0f4dfd5..0fdf316 100644 --- a/src/test_/java/CollisionCheckerTest.java +++ b/src/test_/java/CollisionCheckerTest.java @@ -85,4 +85,15 @@ public class CollisionCheckerTest { //assert assertTrue(result); } + @Test + void WhenBallXCoordinateIsMoreThanZero_didTouchLeftEdge_ReturnsTrue() { + // arrange + Integer ballXCoordinate = 10; + + //act + Boolean result = collisionChecker.didTouchLeftEdge(ballXCoordinate); + + //assert + assertFalse(result); + } }