Fix broken tests

This commit is contained in:
2025-10-19 13:34:34 -04:00
parent 054166d7af
commit dd8921f6fe
3 changed files with 7 additions and 7 deletions
@@ -12,7 +12,7 @@ public class UnassignedStudentScheduler
{
_teams = teams;
_students = teams.SelectMany(t => t.Students).Distinct().ToArray();
_timeSlots = timeslots.Select(ts => ts.Select(t => t.Clone()).ToArray()).ToArray();
_timeSlots = timeslots.Select(ts => ts.Select(t => t.Clone()).ToList()).ToArray();
}
public static IEnumerable<Student> UnassignedStudents(IList<Student> students, IList<Team> timeSlot)
=> students.Where(s => !timeSlot.SelectMany(t => t.Students).Contains(s));