|
|
@ -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); |
|
|
|
} |
|
|
|
|
|
|
|
} |