#NEWLINE# def test_SiegeEngine( self ) : #NEWLINE# #INDENT# game = generate_game_for ( SiegeEngine , StonetuskBoar , PredictableAgent , DoNothingAgent ) #NEWLINE# for turn in range ( 0 , 13 ) : #NEWLINE# #INDENT# game . play_single_turn ( ) #NEWLINE# #UNINDENT# self . assertEqual ( 12 , game . players [ 0 ] . hero . armor ) #NEWLINE# self . assertEqual ( 1 , len ( game . players [ 0 ] . minions ) ) #NEWLINE# self . assertEqual ( 5 , game . players [ 0 ] . minions [ ( - 1 ) ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 5 , game . players [ 0 ] . minions [ ( - 1 ) ] . health ) #NEWLINE# self . assertEqual ( 'Siege Engine' , game . players [ 0 ] . minions [ 0 ] . card . name ) #NEWLINE# for turn in range ( 0 , 2 ) : #NEWLINE# #INDENT# game . play_single_turn ( ) #NEWLINE# #UNINDENT# self . assertEqual ( 14 , game . players [ 0 ] . hero . armor ) #NEWLINE# self . assertEqual ( 2 , len ( game . players [ 0 ] . minions ) ) #NEWLINE# self . assertEqual ( 6 , game . players [ 0 ] . minions [ ( - 1 ) ] . calculate_attack ( ) ) #NEWLINE# self . assertEqual ( 5 , game . players [ 0 ] . minions [ ( - 1 ) ] . health )