예제 #1
0
        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)");
        }
예제 #2
0
        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");
        }