Browse Source

Merge branch 'revert-378b499b' into 'main'

Revert "Unittest: Gültige"

See merge request fdai7745/duellist-spielesammlung-projekt!5
remotes/origin/homan
fdai7892 11 months ago
parent
commit
12fa8c2cdc
  1. 13
      src/test/test_duellist_spielesammlung_projekt.c

13
src/test/test_duellist_spielesammlung_projekt.c

@ -89,19 +89,6 @@ void test_valid_move_and_switch_player(void) {
}
void test_invalid_input(void) {
// Arrange
TicTacToeGame game = { .board = {{PLAYER_X, EMPTY, EMPTY},
{EMPTY, EMPTY, EMPTY},
{EMPTY, EMPTY, EMPTY}},
.currentPlayer = PLAYER_O };
// Act
GameResult result = makeMove(&game, 0, 0);
// Assert
TEST_ASSERT_EQUAL(INVALID_MOVE, result);
}

Loading…
Cancel
Save