1
2
3
4
5
6
7
8
9
10
11
12
| from tictactoe import pruefe_combination, has_spieler_gewonnen, PL1, PL2, EMPTY
|
|
| def test_pruefe_combination_horizontal_hvd():
| test_board = [
| [PL1, PL1, PL1],
| [EMPTY, PL2, EMPTY],
| [EMPTY, PL2, EMPTY]
| ]
|
| result = pruefe_combination((0, 0, "hvd"), test_board)
| assert result
|
|