Пример #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");
        }