Browse Source

Test the method gameOver

remotes/origin/develop
fdai6040 2 years ago
parent
commit
4525573f3f
  1. 19
      src/test/java/src/TicTacToeGameTest.java

19
src/test/java/src/TicTacToeGameTest.java

@ -1,7 +1,24 @@
package src; 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 { public class TicTacToeGameTest {
@org.junit.jupiter.api.Test @org.junit.jupiter.api.Test
void startGame() {
void test_startGame() {
} }
@org.junit.jupiter.api.Test
void gameOver() {
}
} }
Loading…
Cancel
Save