Browse Source

Add Uni Test AIGridGUI

main
Thoumi Ngonga Brice 2 years ago
parent
commit
a4296f465c
  1. 10
      src/test/java/AIGridGUITest.java

10
src/test/java/AIGridGUITest.java

@ -14,4 +14,14 @@ public class AIGridGUITest {
assertEquals(45, result); assertEquals(45, result);
} }
@Test
public void testMoveDown() {
AIGridGUI aiGridGUI = new AIGridGUI(5, 5);
int testLocation = 10;
int result = aiGridGUI.moveDown(testLocation);
assertEquals(15, result);
}
} }
Loading…
Cancel
Save