#NEWLINE# def test_simulate_matches( self ) : #NEWLINE# #INDENT# '\n        Simulates a number of matches\n        ' #NEWLINE# P1 = axelrod . MindReader ( ) #NEWLINE# P2 = axelrod . Grudger ( ) #NEWLINE# simulate_match ( P1 , P2 , C , 4 ) #NEWLINE# self . assertEqual ( P2 . history , [ C , C , C , C ] )