diff --git a/src/test/java/SnakeTest.java b/src/test/java/SnakeTest.java index 8f8a6da..cc6f930 100644 --- a/src/test/java/SnakeTest.java +++ b/src/test/java/SnakeTest.java @@ -1,12 +1,14 @@ import Snake.Snake; +import org.junit.jupiter.api.Test; import java.awt.*; import java.util.ArrayList; import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; class SnakeTest { - + @Test public void testReset() { int gridSize = 20; Snake snake = new Snake(gridSize); @@ -23,5 +25,9 @@ class SnakeTest { } + @Test + public void testIsSelfColliding() { + + } }