From eccb892ce66a116456699e7da883cf15a660b65a Mon Sep 17 00:00:00 2001 From: Thoumi Ngonga Brice Date: Wed, 8 Feb 2023 18:21:36 +0100 Subject: [PATCH] Add Uni Test AIGridGUI --- src/test/java/AIGridGUITest.java | 3 +++ 1 file changed, 3 insertions(+) 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); } }