diff --git a/src/test/java/AIGridGUITest.java b/src/test/java/AIGridGUITest.java index e670a4a..235536d 100644 --- a/src/test/java/AIGridGUITest.java +++ b/src/test/java/AIGridGUITest.java @@ -32,5 +32,8 @@ public class AIGridGUITest { @Test public void testMoveLeft() { + AIGridGUI aiGridGUI = new AIGridGUI(10, 10); + int result = aiGridGUI.moveLeft(3); + assertEquals(2, result); } }