private static void TestFullCalendar(ICalendar calendar) { var monday = DateTime.Parse("2020-11-02"); var tuesday = DateTime.Parse("2020-11-03"); var wednesday = DateTime.Parse("2020-11-04"); var thursday = DateTime.Parse("2020-11-05"); var friday = DateTime.Parse("2020-11-06"); var saturday = DateTime.Parse("2020-11-07"); var sunday = DateTime.Parse("2020-11-08"); // Exercise and Assert Assert.IsTrue(calendar.GetDayInfo(monday).IsWorkingDay); Assert.IsTrue(calendar.GetDayInfo(tuesday).IsWorkingDay); Assert.IsTrue(calendar.GetDayInfo(wednesday).IsWorkingDay); Assert.IsTrue(calendar.GetDayInfo(thursday).IsWorkingDay); Assert.IsTrue(calendar.GetDayInfo(friday).IsWorkingDay); Assert.IsFalse(calendar.GetDayInfo(saturday).IsWorkingDay); Assert.IsFalse(calendar.GetDayInfo(sunday).IsWorkingDay); }