Exemple #1
0
        public void Rule123_applies_fails()
        {
            Rule      rule   = TestData_Rules.Rule123_ColumnsMustBeMoreThanAClassWord();
            DataTable dt     = new DataTable();
            var       c      = dt.AddNewDataColumnWithExtendedProperties("Date", "DT", "datetime");
            var       result = rule.RunRuleAgainstObject(c);

            Assert.True(result.AntecedentEvaluatesToTrue);
            Assert.False(result.ConsequentEvaluatesToTrue);
        }