Hong-Phuc Bui
5 days ago 4c5ba07d9c2f044c179d3bfdd41a6f9f20691ac9
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