/**
 * P13 - Odd Election Driver.
 * This class will test the OddElection.java program by giving it 
 * several inputs to test cases.
 * @author Alvin Chao
 */
public class OddElectionDriver {
 
 /**
  * Main method - run driver tests for OddElection.java files.
  * @param args = not used
  */
    public static void main(String[] args) {
        System.out.println("Welcome to Odd Elections!");
        System.out.println("Here are the raw numbers for each candidate:");
        System.out.println("Candidate\t\t\t\tNumber of Votes");
        System.out.println("---------\t\t\t\t---------------");
        String cand1Name;
        String cand2Name;
        String cand3Name;
        String cand4Name;
        int cand1Votes;
        int cand2Votes;
        int cand3Votes;
        //Candidates
        cand1Name = "#0 Chloe Carmichael";
        cand2Name = "#1 Timmy Turner";
        cand3Name = "#2 Denzel Crocker";
        cand1Votes = 23;
        cand2Votes = 54;
        cand3Votes = 67;
        System.out.println(cand1Name + "\t\t\t\t" + cand1Votes);
        System.out.println(cand2Name + "\t\t\t\t\t" + cand2Votes);
        System.out.println(cand3Name + "\t\t\t\t" + cand3Votes);
        System.out.println("---------\t\t\t\t---------------");
        int winnerPopVote;
        winnerPopVote = 5;
        winnerPopVote = OddElection.countPopular(cand1Votes, 
            cand2Votes, cand3Votes);
        System.out.println("Popular Vote Winner: " + winnerPopVote);
        int winnerAbsMaj;
        winnerAbsMaj =  OddElection.countMajority(cand1Votes, 
            cand2Votes, cand3Votes);
        System.out.println("Absolute Majority Winner: " + winnerAbsMaj);
        int winnerOdd;
        winnerOdd =  OddElection.countOdd(cand1Votes,
             cand2Votes, cand3Votes);
        System.out.println("Odd Winner: " + winnerOdd);
        int winnerOdder;
        winnerOdder =  OddElection.countEvenOdder(cand1Votes, 
            cand2Votes, cand3Votes);
        System.out.println("Odder Winner: " + winnerOdder);
    }
}
