Browse Source

Update Unit Test Snake

main
Justin Senn 2 years ago
parent
commit
0f05968211
  1. 4
      src/test/java/SnakeTest.java

4
src/test/java/SnakeTest.java

@ -27,7 +27,9 @@ class SnakeTest {
@Test @Test
public void testIsSelfColliding() { public void testIsSelfColliding() {
int gridSize = 20;
Snake snake = new Snake(gridSize);
assertFalse(snake.isSelfColliding());
} }
} }
Loading…
Cancel
Save