From 4525573f3f0e3949a97f9063f6176c6dd0bf81ce Mon Sep 17 00:00:00 2001 From: fdai6040 Date: Tue, 7 Feb 2023 12:36:51 +0100 Subject: [PATCH] Test the method gameOver --- src/test/java/src/TicTacToeGameTest.java | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/test/java/src/TicTacToeGameTest.java b/src/test/java/src/TicTacToeGameTest.java index 67c100c..a468218 100644 --- a/src/test/java/src/TicTacToeGameTest.java +++ b/src/test/java/src/TicTacToeGameTest.java @@ -1,7 +1,24 @@ package src; +import org.junit.jupiter.api.Test; + +import javax.swing.*; +import java.awt.*; +import java.util.Random; + +import static javax.swing.JOptionPane.YES_NO_CANCEL_OPTION; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; + public class TicTacToeGameTest { @org.junit.jupiter.api.Test - void startGame() { + void test_startGame() { + } + + @org.junit.jupiter.api.Test + void gameOver() { + } + + }