#NEWLINE# def test_TimberWolf( self ) : #NEWLINE# #INDENT# game = generate_game_for ( [ StonetuskBoar , FaerieDragon , KoboldGeomancer , TimberWolf ] , StonetuskBoar , CardTestingAgent , DoNothingAgent ) #NEWLINE# for turn in range ( 0 , 5 ) : #NEWLINE# #INDENT# game . play_single_turn ( ) #NEWLINE# #UNINDENT# self . assertEqual ( 4 , len ( game . current_player . minions ) ) #NEWLINE# self . assertEqual ( 2 , game . current_player . minions [ 3 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 3 , game . current_player . minions [ 2 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 2 , game . current_player . minions [ 1 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 1 , game . current_player . minions [ 0 ] . calculate_attack ( ) ) #NEWLINE# for turn in range ( 0 , 2 ) : #NEWLINE# #INDENT# game . play_single_turn ( ) #NEWLINE# #UNINDENT# self . assertEqual ( 6 , len ( game . current_player . minions ) ) #NEWLINE# self . assertEqual ( 2 , game . current_player . minions [ 5 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 3 , game . current_player . minions [ 4 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 2 , game . current_player . minions [ 3 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 1 , game . current_player . minions [ 2 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 2 , game . current_player . minions [ 1 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 3 , game . current_player . minions [ 0 ] . calculate_attack ( ) ) #NEWLINE# game . current_player . minions [ 1 ] . die ( None ) #NEWLINE# game . current_player . minions [ 1 ] . activate_delayed ( ) #NEWLINE# self . assertEqual ( 5 , len ( game . current_player . minions ) ) #NEWLINE# self . assertEqual ( 2 , game . current_player . minions [ 4 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 3 , game . current_player . minions [ 3 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 2 , game . current_player . minions [ 2 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 1 , game . current_player . minions [ 1 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 3 , game . current_player . minions [ 0 ] . calculate_attack ( ) ) #NEWLINE# game . current_player . minions [ 3 ] . die ( None ) #NEWLINE# game . current_player . minions [ 3 ] . activate_delayed ( ) #NEWLINE# self . assertEqual ( 4 , len ( game . current_player . minions ) ) #NEWLINE# self . assertEqual ( 2 , game . current_player . minions [ 3 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 2 , game . current_player . minions [ 2 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 1 , game . current_player . minions [ 1 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 3 , game . current_player . minions [ 0 ] . calculate_attack ( ) ) #NEWLINE# wolf = game . current_player . minions [ 1 ] #NEWLINE# wolf . die ( None ) #NEWLINE# wolf . activate_delayed ( ) #NEWLINE# self . assertEqual ( 3 , len ( turn . current_player . minions ) ) #NEWLINE# self . assertEqual ( 1 , game . current_player . minions [ 2 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 2 , game . current_player . minions [ 1 ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 3 , game . current_player . minions [ 0 ] . calculate_attack ( ) )