Browse Source

Final Update Unit Test Snake

main
Justin Senn 2 years ago
parent
commit
13807297fb
  1. 3
      src/test/java/SnakeTest.java

3
src/test/java/SnakeTest.java

@ -55,6 +55,9 @@ class SnakeTest {
assertEquals(new Point(gridSize / 2, gridSize / 2), bodySegments.get(0));
assertEquals(new Point(gridSize / 2 + 1, gridSize / 2), bodySegments.get(1));
snake.setDirection(Snake.SnakeDirection.UP);
snake.update();
}

Loading…
Cancel
Save