Exemplo n.º 1
0
def test_scoreBoard_third_move():
    b = ['X', None, 'O', None, None, None, None, None, None]
    output = _scoreBoard(b)
    assert_equal([0, 3, 0, 6, 6, 1, 7, 1, 7], output)
Exemplo n.º 2
0
def test_scoreBoard_start():
    b = [None for x in range(0, 9)]
    output = _scoreBoard(b)
    assert_equal([3, 1, 2, 1, 1, 1, 2, 1, 2], output)