Browse Source

Update Unit Test Snake

main
Justin Senn 2 years ago
parent
commit
c22395d730
  1. 8
      src/test/java/SnakeTest.java

8
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() {
}
}
Loading…
Cancel
Save