MicahWW / Python-Games

2 stars 0 forks source link

Automatic testing #25

Open MicahWW opened 1 year ago

MicahWW commented 1 year ago

Tests should be conducted on the below items

Tic-Tac-Toe

When working on testing items a new issue should be created on them for better tracking, this issue is for overall testing.

codyswanner commented 1 year ago

Does the test_checkBoard_correctly_identifies_all_endgame_scenarios test (test_TicTacToe.py, line 120) satisfy the checkbox for "if it can detect all win scenarios?" The test currently sets up a board for each player value and win scenario, then passes that board to the TicTacToe.checkBoard method and asserts that it correctly identifies a winner. It tests a draw game board and a game-in-progress board as well.