diff --git a/src/test_/java/CollisionCheckerTest.java b/src/test_/java/CollisionCheckerTest.java index 9ba64c5..513c34d 100644 --- a/src/test_/java/CollisionCheckerTest.java +++ b/src/test_/java/CollisionCheckerTest.java @@ -8,11 +8,12 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; -public class CollisionCheckerTest { + class CollisionCheckerTest { CollisionChecker collisionChecker; + @BeforeEach public void before() { - CollisionChecker collisionChecker = new CollisionChecker(); + collisionChecker = new CollisionChecker(); } @Test void WhenBallYCoordinateIsLessOrEqualThanZero_didTouchTopOrBottomEdge_ReturnsTrue() { diff --git a/target/test-classes/CollisionCheckerTest.class b/target/test-classes/CollisionCheckerTest.class index 357ab11..15f75ac 100644 Binary files a/target/test-classes/CollisionCheckerTest.class and b/target/test-classes/CollisionCheckerTest.class differ