test method for asgn1election.prefelection #isformal asgn1election.vote . concode_field_sep ElectionManager em concode_elem_sep ArrayList<Election> elec concode_elem_sep PrefElection pfE concode_field_sep void testLoadVotesExpectedException concode_elem_sep void testIsFormalInValidData concode_elem_sep void testLoadDefsExpectedException concode_elem_sep void testToString concode_elem_sep void testPrefElection concode_elem_sep void testPrefElectionTypeSetting concode_elem_sep void testLoadDefs concode_elem_sep void setUp concode_elem_sep void testloadVotes concode_elem_sep void testFindWinner concode_elem_sep void testIsFormalDuplicatePrefrence
void function ( ) { asgn1Election . Vote loc0 = new asgn1Election . VoteList ( 5 ) ; loc0 . addPref ( 1 ) ; loc0 . addPref ( 2 ) ; loc0 . addPref ( 3 ) ; loc0 . addPref ( 4 ) ; loc0 . addPref ( 5 ) ; boolean loc1 = em . getElection ( ) . loc1 ( loc0 ) ; assertTrue ( loc1 ) ; }