import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;

/**
 * Project 06
 * <p>
 * Course: CSE 274 F
 * Instructor: Dr. Gani
 *
 * @author John Meyer
 */
class TicTacToeTest {
    private TicTacToe game = new TicTacToe();

    @Test
    void getBestMove() {
        assertEquals(6, game.getBestMove("-OXOXO-X-"));
        assertEquals(4, game.getBestMove("XO------X"));
        assertNotEquals(4, game.getBestMove("OOX---X-X"));
        assertEquals(7, game.getBestMove("OX--X----"));
    }

}

@@ -283,16 +283,128 @@
 ove() %7B%0A
+        assertEquals(8, game.getBestMove(%22X--XXOOO-%22));%0A        assertEquals(0, game.getBestMove(%22--OXXO--X%22));%0A
         

Add tests