#NEWLINE# def test_greedy_player( self ) : #NEWLINE# #INDENT# gs = GameState ( ) #NEWLINE# policy = CNNPolicy ( [ 'board' , 'ones' , 'turns_since' ] ) #NEWLINE# player = GreedyPolicyPlayer ( policy ) #NEWLINE# for i in range ( 20 ) : #NEWLINE# #INDENT# move = player . get_move ( gs ) #NEWLINE# self . assertIsNotNone ( move ) #NEWLINE# gs . do_move ( move )