#NEWLINE# def test_BearTrap( self ) : #NEWLINE# #INDENT# game = generate_game_for ( BearTrap , StonetuskBoar , CardTestingAgent , PlayAndAttackAgent ) #NEWLINE# for turn in range ( 0 , 3 ) : #NEWLINE# #INDENT# game . play_single_turn ( ) #NEWLINE# #UNINDENT# self . assertEqual ( 1 , len ( self . players [ 1 ] . minions ) ) #NEWLINE# self . assertEqual ( 1 , len ( game . players [ 0 ] . secrets ) ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# self . assertEqual ( 1 , len ( game . players [ 0 ] . minions ) ) #NEWLINE# self . assertEqual ( 0 , len ( game . players [ 0 ] . secrets ) )