示例#1
0
        public void ConditionMet_False(int year, int month, int day)
        {
            var rule = new LearnStartDate_02Rule(null, null);

            rule.ConditionMet(new DateTime(year, month, day), new DateTime(2017, 8, 1)).Should().BeFalse();
        }
示例#2
0
        public void ConditionMet_True()
        {
            var rule = new LearnStartDate_02Rule(null, null);

            rule.ConditionMet(new DateTime(2005, 1, 1), new DateTime(2017, 8, 1)).Should().BeTrue();
        }