From 4b045e909b4e4c169381a96a984951208d20a7f2 Mon Sep 17 00:00:00 2001 From: Thoumi Ngonga Brice Date: Wed, 8 Feb 2023 18:25:30 +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 e670a4a..235536d 100644 --- a/src/test/java/AIGridGUITest.java +++ b/src/test/java/AIGridGUITest.java @@ -32,5 +32,8 @@ public class AIGridGUITest { @Test public void testMoveLeft() { + AIGridGUI aiGridGUI = new AIGridGUI(10, 10); + int result = aiGridGUI.moveLeft(3); + assertEquals(2, result); } }