public void TestCzNoHolidays2001(int month, int day) { var holiday = new DateTime(2001, month, day); var holidayCalendar = new CzechRepublicPublicHoliday(); var actual = holidayCalendar.IsPublicHoliday(holiday); Assert.IsFalse(actual, $"{holiday.ToString("D")} is a holiday (shouldn't be)"); }
public void TestCzHolidays2001(int month, int day) { var holiday = new DateTime(2001, month, day); var holidayCalendar = new CzechRepublicPublicHoliday(); var actual = holidayCalendar.IsPublicHoliday(holiday); Assert.IsTrue(actual, $"{holiday.ToString("D")} is not a holiday"); }