Example #1
0
def board():
    return Board.create_fresh_board()
def test_create_from_existing_is_new_board(board):
    new_board = Board.create_from_existing_spaces(board.spaces)
    assert new_board.__class__.__name__ == "Board"
    assert new_board != board
def board():
    board = Board.create_fresh_board()
    return board
def big_board():
    board = Board.create_fresh_board(16)
    return board