diff --git a/src/test/java/AIGridGUITest.java b/src/test/java/AIGridGUITest.java index 3720ac4..bd4b8d2 100644 --- a/src/test/java/AIGridGUITest.java +++ b/src/test/java/AIGridGUITest.java @@ -25,6 +25,9 @@ public class AIGridGUITest { } @Test public void testMoveRight() { + AIGridGUI aiGridGUI = new AIGridGUI(10, 10); + int result = aiGridGUI.moveRight(3); + assertEquals(4, result); } }