Ejemplo n.º 1
0
def test_board_is_full_when_all_spaces_are_occupied():
    board = Board(['x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x'])

    assert board.is_full() is True
Ejemplo n.º 2
0
def test_board_is_not_full_when_only_some_spaces_are_occupied():
    board = Board(['x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', '9'])

    assert board.is_full() is False