#NEWLINE# def test_Quickshot( self ) : #NEWLINE# #INDENT# game = generate_game_for ( QuickShot , Wisp , CardTestingAgent , CardTestingAgent ) #NEWLINE# for turn in range ( 2 ) : #NEWLINE# #INDENT# game . play_single_turn ( ) #NEWLINE# #UNINDENT# self . assertEqual ( 5 , len ( game . players [ 1 ] . minions ) ) #NEWLINE# self . assertEqual ( 4 , len ( game . players [ 0 ] . hand ) ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# self . assertEqual ( 30 , game . players [ 1 ] . hero . health ) #NEWLINE# self . assertEqual ( 4 , len ( game . players [ 1 ] . minions ) ) #NEWLINE# self . assertEqual ( 4 , len ( game . players [ 0 ] . hand ) ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# self . assertEqual ( 30 , game . players [ 1 ] . hero . health ) #NEWLINE# self . assertEqual ( 4 , len ( game . players [ 1 ] . minions ) ) #NEWLINE# self . assertEqual ( 4 , len ( game . players [ 0 ] . hand ) ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# self . assertEqual ( 30 , game . players [ 1 ] . hero . health ) #NEWLINE# self . assertEqual ( 3 , len ( game . players [ 1 ] . minions ) ) #NEWLINE# self . assertEqual ( 3 , len ( game . players [ 0 ] . hand ) ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# self . assertEqual ( 30 , self . players [ 1 ] . hero . health ) #NEWLINE# self . assertEqual ( 2 , len ( game . players [ 1 ] . minions ) ) #NEWLINE# self . assertEqual ( 2 , len ( game . players [ 0 ] . hand ) ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# self . assertEqual ( 30 , game . players [ 1 ] . hero . health ) #NEWLINE# self . assertEqual ( 0 , len ( game . players [ 1 ] . minions ) ) #NEWLINE# self . assertEqual ( 1 , len ( game . players [ 0 ] . hand ) ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# self . assertEqual ( 24 , game . players [ 1 ] . hero . health ) #NEWLINE# self . assertEqual ( 0 , len ( game . players [ 1 ] . minions ) ) #NEWLINE# self . assertEqual ( 1 , len ( game . players [ 0 ] . hand ) )