Beispiel #1
0
        public void Rule091_applies_fail()
        {
            Rule      rule   = TestData_Rules.Rule091_long_codes();
            DataTable dt     = new DataTable();
            var       c      = dt.AddNewDataColumnWithExtendedProperties("Application Character Code", "APP_CHAR_CD", "char(6)");
            var       result = rule.RunRuleAgainstObject(c);

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