diff --git a/src/test/java/SnakeTest.java b/src/test/java/SnakeTest.java index cc6f930..77a571b 100644 --- a/src/test/java/SnakeTest.java +++ b/src/test/java/SnakeTest.java @@ -27,7 +27,9 @@ class SnakeTest { @Test public void testIsSelfColliding() { + int gridSize = 20; + Snake snake = new Snake(gridSize); - + assertFalse(snake.isSelfColliding()); } }