<reponame>kozakusek/ipp-2020-testy<filename>z2/part3/updated_part2_batch/jm/parser_errors_2/787842591.py<gh_stars>1-10
from part1 import (
    gamma_board,
    gamma_busy_fields,
    gamma_delete,
    gamma_free_fields,
    gamma_golden_move,
    gamma_golden_possible,
    gamma_move,
    gamma_new,
)

"""
scenario: test_random_actions
uuid: 787842591
"""
"""
random actions, total chaos
"""
board = gamma_new(5, 3, 3, 6)
assert board is not None


assert gamma_move(board, 1, 0, 1) == 1 
assert gamma_move(board, 1, 1, 1) == 1 
assert gamma_golden_possible(board, 1) == 0 
assert gamma_move(board, 2, 0, 3) == 0 
assert gamma_move(board, 2, 0, 1) == 0 
assert gamma_move(board, 3, 0, 4) == 0 
assert gamma_move(board, 3, 4, 0) == 1 
assert gamma_move(board, 1, 2, 2) == 1 
assert gamma_move(board, 1, 2, 1) == 1 
assert gamma_free_fields(board, 1) == 10 
assert gamma_move(board, 2, 1, 4) == 0 
assert gamma_move(board, 2, 2, 0) == 1 
assert gamma_move(board, 3, 2, 3) == 0 
assert gamma_move(board, 1, 0, 1) == 0 


board756896363 = gamma_board(board)
assert board756896363 is not None
assert board756896363 == ("..1..\n"
"111..\n"
"..2.3\n")
del board756896363
board756896363 = None
assert gamma_move(board, 2, 2, 3) == 0 
assert gamma_free_fields(board, 2) == 9 
assert gamma_move(board, 3, 0, 3) == 0 
assert gamma_move(board, 3, 4, 1) == 1 
assert gamma_move(board, 1, 2, 0) == 0 
assert gamma_move(board, 1, 3, 1) == 1 
assert gamma_move(board, 3, 2, 0) == 0 
assert gamma_move(board, 3, 0, 2) == 1 
assert gamma_golden_possible(board, 3) == 1 
assert gamma_move(board, 1, 2, 2) == 0 
assert gamma_move(board, 1, 3, 0) == 1 


board743690974 = gamma_board(board)
assert board743690974 is not None
assert board743690974 == ("3.1..\n"
"11113\n"
"..213\n")
del board743690974
board743690974 = None
assert gamma_move(board, 2, 2, 1) == 0 
assert gamma_move(board, 2, 4, 0) == 0 
assert gamma_move(board, 2, 0, 1) == 0 
assert gamma_move(board, 3, 2, 4) == 0 
assert gamma_move(board, 3, 4, 2) == 1 
assert gamma_move(board, 1, 2, 1) == 0 
assert gamma_move(board, 1, 4, 2) == 0 
assert gamma_move(board, 2, 0, 1) == 0 
assert gamma_move(board, 2, 2, 0) == 0 
assert gamma_move(board, 3, 1, 0) == 1 
assert gamma_move(board, 3, 2, 2) == 0 
assert gamma_move(board, 2, 2, 3) == 0 
assert gamma_move(board, 2, 0, 0) == 1 
assert gamma_busy_fields(board, 2) == 2 
assert gamma_golden_move(board, 2, 0, 1) == 1 
assert gamma_move(board, 3, 2, 1) == 0 
assert gamma_move(board, 3, 4, 0) == 0 
assert gamma_move(board, 1, 2, 1) == 0 
assert gamma_move(board, 2, 2, 3) == 0 
assert gamma_move(board, 2, 3, 1) == 0 
assert gamma_move(board, 3, 2, 3) == 0 
assert gamma_move(board, 3, 0, 2) == 0 
assert gamma_free_fields(board, 1) == 2 
assert gamma_move(board, 2, 2, 1) == 0 
assert gamma_move(board, 3, 2, 1) == 0 
assert gamma_move(board, 3, 3, 1) == 0 


gamma_delete(board)
