private void bulkTest(int daySet, int dayTest, List<Match> matches, CourtSchedule test) {
   for (Match m : matches) {
     // set times
     MatchSlot day = new MatchSlot(daySet, daySet, daySet);
     m.setMatchSlot(day);
   }
   boolean[] tests = new boolean[matches.size()];
   boolean[] answers = new boolean[matches.size()];
   for (int i = 0; i < matches.size(); i++) {
     tests[i] = test.eitherTeamIsPlayingOnDay(matches.get(i), dayTest);
     answers[i] = daySet == dayTest;
     assertEquals(
         "\" date:"
             + matches.get(i).getDate()
             + " teams:"
             + matches.get(i).getTeam1().getTeamName()
             + ":"
             + matches.get(i).getTeam1().getTeamName()
             + "\" must be \""
             + answers[i]
             + "\"",
         answers[i],
         tests[i]);
   }
 }
  public CourtScheduleInfo(String filepath) {
    this.filepath = filepath;
    this.badConferenceDays = new HashMap<String, List<Integer>>();
    this.primaryDays = new HashMap<String, List<Integer>>();
    this.secondaryDays = new HashMap<String, List<Integer>>();
    this.holidays = new ArrayList<LocalDate>();

    DateConstraint.setInfo(this);
    Match.setInfo(this);
  }