From 313ff8e3612d2d5490b2686bd6902013ade97c21 Mon Sep 17 00:00:00 2001 From: Justin Senn Date: Wed, 8 Feb 2023 19:52:52 +0100 Subject: [PATCH] Update Unit Test Snake --- src/test/java/SnakeTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/SnakeTest.java b/src/test/java/SnakeTest.java index 819c86f..22130a9 100644 --- a/src/test/java/SnakeTest.java +++ b/src/test/java/SnakeTest.java @@ -27,7 +27,9 @@ class SnakeTest { @Test public void testUpdate() { - + int gridSize = 20; + Snake snake = new Snake(gridSize); + snake.reset(); }