|
@ -73,7 +73,7 @@ void test_diagonal_win(void) { |
|
|
TEST_ASSERT_EQUAL(GAME_WIN, result); |
|
|
TEST_ASSERT_EQUAL(GAME_WIN, result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void test_valid_move_and_switch_player(void) { |
|
|
|
|
|
|
|
|
void test_valid_move_and_switch(void) { |
|
|
// Arrange |
|
|
// Arrange |
|
|
TicTacToeGame game = { .board = {{EMPTY, EMPTY, EMPTY}, |
|
|
TicTacToeGame game = { .board = {{EMPTY, EMPTY, EMPTY}, |
|
|
{EMPTY, EMPTY, EMPTY}, |
|
|
{EMPTY, EMPTY, EMPTY}, |
|
|