Exemplo n.º 1
0
        public decimal AcceptedApplicantStandardizedScoreDifference()
        {
            int totalDifference = AcceptedApplicants
                                  .Sum(s => s.StandardizedTest - s.ScoreNeeded);

            if (totalDifference == 0)
            {
                return(0);
            }
            return(totalDifference / (AcceptedApplicants.Count));
        }
Exemplo n.º 2
0
 public void ApplicantAcceptDeclineListSeparator()
 {
     while (ApplicantStack.Count > 0)
     {
         Applicant applicant = ApplicantStack.Pop();
         if (!applicant.AcceptedMatch)
         {
             DeclinedApplicants.Add(applicant);
         }
         else
         {
             AcceptedApplicants.Add(applicant);
         }
     }
 }