<s> """<STR_LIT>""" <EOL> from world import world , setup_module , teardown_module <EOL> import compute_multivote_prediction_steps as multivote_prediction <EOL> class TestMultiVotePrediction ( object ) : <EOL> def setup ( self ) : <EOL> """<STR_LIT>""" <EOL> print "<STR_LIT>" % __name__ <EOL> def teardown ( self ) : <EOL> """<STR_LIT>""" <EOL> print "<STR_LIT>" % __name__ <EOL> def test_scenario1 ( self ) : <EOL> """<STR_LIT>""" <EOL> print self . test_scenario1 . __doc__ <EOL> examples = [ <EOL> [ '<STR_LIT>' , '<STR_LIT:0>' , '<STR_LIT:a>' , '<STR_LIT>' ] , <EOL> [ '<STR_LIT>' , '<STR_LIT:1>' , '<STR_LIT:a>' , '<STR_LIT>' ] , <EOL> [ '<STR_LIT>' , '<STR_LIT:2>' , '<STR_LIT:a>' , '<STR_LIT>' ] , <EOL> [ '<STR_LIT>' , '<STR_LIT:0>' , '<STR_LIT>' , '<STR_LIT>' ] , <EOL> [ '<STR_LIT>' , '<STR_LIT:1>' , '<STR_LIT>' , '<STR_LIT>' ] , <EOL> [ '<STR_LIT>' , '<STR_LIT:2>' , '<STR_LIT>' , '<STR_LIT>' ] ] <EOL> for example in examples : <EOL> print "<STR_LIT>" , example <EOL> multivote_prediction . i_create_a_multivote ( self , example [ <NUM_LIT:0> ] ) <EOL> multivote_prediction . compute_prediction ( self , example [ <NUM_LIT:1> ] ) <EOL> multivote_prediction . compute_prediction_no_confidence ( self , example [ <NUM_LIT:1> ] ) <EOL> multivote_prediction . check_combined_prediction ( self , example [ <NUM_LIT:2> ] ) <EOL> multivote_prediction . check_combined_prediction_no_confidence ( self , example [ <NUM_LIT:2> ] ) <EOL> multivote_prediction . check_combined_confidence ( self , example [ <NUM_LIT:3> ] ) </s>
