<s> """<STR_LIT>""" <EOL> import axelrod <EOL> from . test_player import TestHeadsUp <EOL> C , D = axelrod . Actions . C , axelrod . Actions . D <EOL> class TestTFTvsWSLS ( TestHeadsUp ) : <EOL> """<STR_LIT>""" <EOL> def test_rounds ( self ) : <EOL> self . versus_test ( axelrod . TitForTat ( ) , axelrod . WinStayLoseShift ( ) , <EOL> [ C , C , C , C ] , [ C , C , C , C ] ) <EOL> class TestTFTvSTFT ( TestHeadsUp ) : <EOL> """<STR_LIT>""" <EOL> def test_rounds ( self ) : <EOL> self . versus_test ( axelrod . TitForTat ( ) , axelrod . SuspiciousTitForTat ( ) , <EOL> [ C , D , C , D , C , D ] , [ D , C , D , C , D , C ] ) <EOL> class TestTFTvsBully ( TestHeadsUp ) : <EOL> """<STR_LIT>""" <EOL> def test_rounds ( self ) : <EOL> self . versus_test ( axelrod . TitForTat ( ) , axelrod . Bully ( ) , <EOL> [ C , D , D , C , C , D ] , [ D , D , C , C , D , D ] ) <EOL> class TestTF2TvsBully ( TestHeadsUp ) : <EOL> """<STR_LIT>""" <EOL> def test_rounds ( self ) : <EOL> self . versus_test ( axelrod . TitFor2Tats ( ) , axelrod . Bully ( ) , <EOL> [ C , C , D , D , C , C , C , D ] , [ D , D , D , C , C , D , D , D ] ) <EOL> class TestZDGTFT2vsBully ( TestHeadsUp ) : <EOL> """<STR_LIT>""" <EOL> def test_rounds ( self ) : <EOL> self . versus_test ( axelrod . ZDGTFT2 ( ) , axelrod . Bully ( ) , [ C , D , D , C , C , D ] , <EOL> [ D , D , C , C , D , D ] , random_seed = <NUM_LIT:2> ) <EOL> class TestZDExtort2vsTFT ( TestHeadsUp ) : <EOL> """<STR_LIT>""" <EOL> def test_rounds ( self ) : <EOL> self . versus_test ( axelrod . ZDExtort2 ( ) , axelrod . TitForTat ( ) , <EOL> [ C , D , D , D , D , D ] , [ C , C , D , D , D , D ] , random_seed = <NUM_LIT:2> ) <EOL> class FoolMeOncevsBully ( TestHeadsUp ) : <EOL> """<STR_LIT>""" <EOL> def test_rounds ( self ) : <EOL> self . versus_test ( axelrod . FoolMeOnce ( ) , axelrod . Bully ( ) , <EOL> [ C , C , D , D , D , D ] , [ D , D , D , C , C , C ] ) <EOL> class FoolMeOncevsSTFT ( TestHeadsUp ) : <EOL> """<STR_LIT>""" <EOL> def test_rounds ( self ) : <EOL> self . versus_test ( axelrod . FoolMeOnce ( ) , axelrod . SuspiciousTitForTat ( ) , <EOL> [ C ] * <NUM_LIT:9> , [ D ] + [ C ] * <NUM_LIT:8> ) <EOL> class GrudgervsSTFT ( TestHeadsUp ) : <EOL> """<STR_LIT>""" <EOL> def test_rounds ( self ) : <EOL> self . versus_test ( axelrod . Grudger ( ) , axelrod . SuspiciousTitForTat ( ) , <EOL> [ C ] + [ D ] * <NUM_LIT:9> , [ D , C ] + [ D ] * <NUM_LIT:8> ) <EOL> class TestWSLSvsBully ( TestHeadsUp ) : <EOL> """<STR_LIT>""" <EOL> def test_rounds ( self ) : <EOL> self . versus_test ( axelrod . WinStayLoseShift ( ) , axelrod . Bully ( ) , <EOL> [ C , D , C , C , D ] , [ D , D , C , D , D ] ) </s>
