Esempio n. 1
0
        public void IsHoliday_WhenDateIsNotASwedishHoliday_ShouldReturnFalse(DateTime notASwedishHoliday)
        {
            var sut = new NagerHolidayChecker();

            var actual = sut.IsHoliday(notASwedishHoliday);

            Assert.False(actual);
        }
Esempio n. 2
0
        public void IsHoliday_WhenDateIsASwedishHoliday_ShouldReturnTrue(DateTime swedishHoliday)
        {
            var sut = new NagerHolidayChecker();

            var actual = sut.IsHoliday(swedishHoliday);

            Assert.True(actual);
        }