diff --git a/src/test/java/AIGridGUITest.java b/src/test/java/AIGridGUITest.java index de23f60..aaf60ee 100644 --- a/src/test/java/AIGridGUITest.java +++ b/src/test/java/AIGridGUITest.java @@ -14,4 +14,14 @@ public class AIGridGUITest { assertEquals(45, result); } + @Test + public void testMoveDown() { + AIGridGUI aiGridGUI = new AIGridGUI(5, 5); + int testLocation = 10; + + int result = aiGridGUI.moveDown(testLocation); + + assertEquals(15, result); + } + }