public Track(string name) { _name = name; MorningSession = new Session("Morning Session", new TimeSpan(9, 0, 0), new TimeSpan(3, 0, 0)); Lunch = new TimeSlot("Lunch", new TimeSpan(12, 0, 0)); AfternoonSession = new Session("Afternoon Session", new TimeSpan(13, 0, 0), new TimeSpan(4, 0, 0)); Networking = new TimeSlot("Networking Event", new TimeSpan(17, 0, 0)); }
public void InvalidStartTime_ThrowsException() { var timeSlot = new TimeSlot("Description", new TimeSpan(24,0,0)); }
public void CanCreateTimeSlot() { var timeSlot = new TimeSlot("Description", new TimeSpan(23, 59, 59)); Assert.IsNotNull(timeSlot); }