Example #1
0
        public void TestCheckIsBusinessDay(bool expected, DateTime dateTime)
        {
            var rule = new WeekendRule();

            Assert.Equal(expected, rule.CheckIsBussinessDay(dateTime));
        }
Example #2
0
        public void IsNotBusinessDay(string date)
        {
            var rule = new WeekendRule();

            Assert.False(rule.CheckIsBussinessDay(DateTime.Parse(date)));
        }