#NEWLINE# def test_sensible_probabilistic( self ) : #NEWLINE# #INDENT# gs = GameState ( ) #NEWLINE# policy = CNNPolicy ( [ 'board' , 'ones' , 'turns_since' ] ) #NEWLINE# player = ProbabilisticPolicyPlayer ( policy ) #NEWLINE# empty = ( 10 , 10 ) #NEWLINE# for x in range ( 19 ) : #NEWLINE# #INDENT# for y in range ( 19 ) : #NEWLINE# #INDENT# if ( ( x , y ) != empty ) : #NEWLINE# #INDENT# gs . do_move ( ( x , y ) , go . BLACK ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# gs . current_player = go . BLACK #NEWLINE# self . assertIsNone ( player . get_move ( gs ) )